mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 17:50:04 +08:00
Add asyncomplete-omni
This commit is contained in:
parent
c67f6a8c9f
commit
e1eadf42cf
@ -71,6 +71,10 @@ function! SpaceVim#layers#autocomplete#plugins() abort
|
|||||||
\ 'loadconf' : 1,
|
\ 'loadconf' : 1,
|
||||||
\ 'merged' : 0,
|
\ 'merged' : 0,
|
||||||
\ }])
|
\ }])
|
||||||
|
call add(plugins, ['yami-beta/asyncomplete-omni.vim', {
|
||||||
|
\ 'loadconf' : 1,
|
||||||
|
\ 'merged' : 0,
|
||||||
|
\ }])
|
||||||
elseif g:spacevim_autocomplete_method == 'completor'
|
elseif g:spacevim_autocomplete_method == 'completor'
|
||||||
call add(plugins, ['maralla/completor.vim', {
|
call add(plugins, ['maralla/completor.vim', {
|
||||||
\ 'loadconf' : 1,
|
\ 'loadconf' : 1,
|
||||||
|
6
config/plugins/asyncomplete-omni.vim
Normal file
6
config/plugins/asyncomplete-omni.vim
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
au User asyncomplete_setup call asyncomplete#register_source(asyncomplete#sources#omni#get_source_options({
|
||||||
|
\ 'name': 'omni',
|
||||||
|
\ 'whitelist': ['*'],
|
||||||
|
\ 'blacklist': ['html'],
|
||||||
|
\ 'completor': function('asyncomplete#sources#omni#completor')
|
||||||
|
\ }))
|
Loading…
Reference in New Issue
Block a user