mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-23 17:49:57 +08:00
Enable deoplete in vim8
This commit is contained in:
parent
b90b27a161
commit
62d58977bf
@ -544,7 +544,7 @@ function! SpaceVim#end() abort
|
|||||||
call add(g:spacevim_plugin_groups, 'colorscheme')
|
call add(g:spacevim_plugin_groups, 'colorscheme')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if has('nvim')
|
if has('python3')
|
||||||
let g:spacevim_autocomplete_method = 'deoplete'
|
let g:spacevim_autocomplete_method = 'deoplete'
|
||||||
elseif has('lua')
|
elseif has('lua')
|
||||||
let g:spacevim_autocomplete_method = 'neocomplete'
|
let g:spacevim_autocomplete_method = 'neocomplete'
|
||||||
|
@ -58,6 +58,10 @@ function! SpaceVim#layers#autocomplete#plugins() abort
|
|||||||
\ 'on_event' : 'InsertEnter',
|
\ 'on_event' : 'InsertEnter',
|
||||||
\ 'loadconf' : 1,
|
\ 'loadconf' : 1,
|
||||||
\ }])
|
\ }])
|
||||||
|
if !has('nvim')
|
||||||
|
call add(plugins, ['SpaceVim/nvim-yarp', {'merged': 0}])
|
||||||
|
call add(plugins, ['SpaceVim/vim-hug-neovim-rpc', {'merged': 0}])
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
if has('patch-7.4.774')
|
if has('patch-7.4.774')
|
||||||
call add(plugins, ['Shougo/echodoc.vim', {
|
call add(plugins, ['Shougo/echodoc.vim', {
|
||||||
@ -67,6 +71,7 @@ function! SpaceVim#layers#autocomplete#plugins() abort
|
|||||||
\ }])
|
\ }])
|
||||||
endif
|
endif
|
||||||
call add(plugins, ['tenfyzhong/CompleteParameter.vim', {'merged': 0}])
|
call add(plugins, ['tenfyzhong/CompleteParameter.vim', {'merged': 0}])
|
||||||
|
call add(plugins, ['SpaceVim/LanguageClient-neovim', {'merged': 0}])
|
||||||
return plugins
|
return plugins
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user