1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 00:20:05 +08:00

Merge pull request #66 from SpaceVim/improve_leader

Improve leader
This commit is contained in:
Wang Shidong 2017-01-08 01:32:22 +08:00 committed by GitHub
commit 98402d0060
2 changed files with 7 additions and 2 deletions

View File

@ -2,6 +2,7 @@ let s:plugins = {}
let s:plugins.core = [
\ ['Shougo/vimproc.vim', {'build' : 'make'}],
\ ['hecal3/vim-leader-guide', {'loadconf': 1, 'loadconf_before' : 1, 'merged' : 0}],
\ ]
let s:plugins.autocomplete = [

View File

@ -108,8 +108,12 @@ function! zvim#plug#end() abort
elseif g:spacevim_plugin_manager == 'dein'
call dein#end()
if g:spacevim_checkinstall == 1
if dein#check_install()
call dein#install()
silent! let flag = dein#check_install()
if flag
augroup SpaceVimCheckInstall
au!
au VimEnter * call dein#install()
augroup END
endif
endif
call dein#call_hook('source')