1
0
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:
Eric Wong 2024-07-03 10:23:58 +08:00
parent 13f67638ff
commit c501057f6f

View File

@ -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