1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 13:00:04 +08:00

Add asyncomplete-omni

This commit is contained in:
wsdjeg 2017-11-24 00:05:54 +08:00
parent c67f6a8c9f
commit e1eadf42cf
2 changed files with 10 additions and 0 deletions

View File

@ -71,6 +71,10 @@ function! SpaceVim#layers#autocomplete#plugins() abort
\ 'loadconf' : 1,
\ 'merged' : 0,
\ }])
call add(plugins, ['yami-beta/asyncomplete-omni.vim', {
\ 'loadconf' : 1,
\ 'merged' : 0,
\ }])
elseif g:spacevim_autocomplete_method == 'completor'
call add(plugins, ['maralla/completor.vim', {
\ 'loadconf' : 1,

View 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')
\ }))