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:
parent
34368c5574
commit
3d84fb917e
1 changed files with 9 additions and 3 deletions
10
vimrc
10
vimrc
|
@ -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
|
||||
"
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue