1
0
Fork 0
mirror of https://github.com/luzifer/vim.git synced 2024-12-20 10:21:19 +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 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. " Enable omni completion.
autocmd FileType css setlocal omnifunc=csscomplete#CompleteCSS autocmd FileType css setlocal omnifunc=csscomplete#CompleteCSS