X-Git-Url: https://git.sthu.org/?p=vimconf.git;a=blobdiff_plain;f=init.vim;h=3255e3322a503d45f5163506cfb447da63908e7b;hp=74aa3d385fc52b0c583d400f5d08f873914486ec;hb=HEAD;hpb=1fbc02c2a0bc5522f32773fd98bb8f988d44d9ec diff --git a/init.vim b/init.vim index 74aa3d3..a80a4e8 100644 --- a/init.vim +++ b/init.vim @@ -16,6 +16,13 @@ set fillchars=vert:│,fold:\ set listchars=tab:»­,trail:·,eol:$ set virtualedit=block +set linebreak + +" Use filetype.lua and do not use filetype.vim for >=neovim-0.7.2 +" Attention: Requires migration of ftdetect/ scripts +" let g:do_filetype_lua = 1 +" let g:did_load_filetypes = 0 + filetype plugin indent on set tabstop=4 @@ -35,120 +42,32 @@ set foldlevelstart=20 set colorcolumn=+1 set mouse=a set wildmenu -set wildmode=longest,list:full +" set wildmode=longest,list:full +" set wildmode=list:full +set wildoptions=pum +set showcmd set tabpagemax=100 -syntax on - -" Load some macros -runtime macros.vim - -if filereadable($HOME . '/.vim/lowendbox') - let g:lowendbox = 1 -else - let g:lowendbox = 0 +if has('nvim-0.7') + set laststatus=3 endif -"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" -" Some global plugin settings - -" Disable devicons on linux terminal -if $TERM == 'linux' - let g:enable_plugin_devicons=0 -" Enable loading of devicons on all others -else - let g:enable_plugin_devicons=1 +if has('nvim-0.11') + lua<