mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 06:50:04 +08:00
fix(git): fix git lazy command
This commit is contained in:
parent
13f67638ff
commit
c501057f6f
@ -74,7 +74,7 @@ function! SpaceVim#layers#git#plugins() abort
|
||||
elseif s:git_plugin ==# 'gita'
|
||||
call add(plugins, ['lambdalisue/vim-gita', { 'on_cmd' : 'Gita'}])
|
||||
else
|
||||
call add(plugins, [g:_spacevim_root_dir . 'bundle/git.vim', { 'merged' : 0, 'on_event' : 'Git', 'on_func' : 'git#branch#current'}])
|
||||
call add(plugins, [g:_spacevim_root_dir . 'bundle/git.vim', { 'merged' : 0, 'on_cmd' : ['Git'], 'on_func' : 'git#branch#current'}])
|
||||
endif
|
||||
return plugins
|
||||
endfunction
|
||||
|
Loading…
Reference in New Issue
Block a user