1
0
mirror of https://github.com/luzifer/vim.git synced 2024-09-18 18:42:55 +00:00

Enable neocomplete on old vim

This commit is contained in:
Knut Ahlers 2017-12-14 15:45:53 +01:00
parent 34368c5574
commit 3d84fb917e
Signed by: luzifer
GPG Key ID: DC2729FDD34BE99E

12
vimrc
View File

@ -989,10 +989,16 @@ map <C-n> :NERDTreeToggle<CR>
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif
"
" deoplete configuration
" neocomplete / deoplete configuration
"
"
let g:deoplete#enable_at_startup = 1
if v:version >= 800
let g:deoplete#enable_at_startup = 1
else
let g:acp_enableAtStartup = 0 " Disable AutoComplPop.
let g:neocomplete#enable_at_startup = 1 " Use neocomplete.
let g:neocomplete#enable_smart_case = 1 " Use smartcase.
endif
" Enable omni completion.
autocmd FileType css setlocal omnifunc=csscomplete#CompleteCSS