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

Merge pull request #919 from sei40kr/feature/echodoc

Added Shougo/echodoc.vim to autocomplete layer
This commit is contained in:
Wang Shidong 2017-10-22 10:17:42 -05:00 committed by GitHub
commit 6861bf8583
2 changed files with 9 additions and 0 deletions

View File

@ -59,6 +59,13 @@ function! SpaceVim#layers#autocomplete#plugins() abort
\ 'loadconf' : 1,
\ }])
endif
if has('patch-7.4.774')
call add(plugins, ['Shougo/echodoc.vim', {
\ 'on_cmd' : ['EchoDocEnable', 'EchoDocDisable'],
\ 'on_event' : 'CompleteDone',
\ 'loadconf_before' : 1,
\ }])
endif
call add(plugins, ['tenfyzhong/CompleteParameter.vim', {'merged': 0}])
return plugins
endfunction

View File

@ -0,0 +1,2 @@
let g:echodoc#enable_at_startup = 1
set noshowmode