1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-04 14:00:05 +08:00
SpaceVim/bundle/git.vim/plugin/git.vim

16 lines
557 B
VimL
Raw Normal View History

2021-01-02 18:15:08 +08:00
"=============================================================================
" git.vim --- git plugin for spacevim
2022-02-03 17:24:51 +08:00
" Copyright (c) 2016-2022 Wang Shidong & Contributors
2021-01-02 18:15:08 +08:00
" Author: Wang Shidong < wsdjeg@outlook.com >
" URL: https://spacevim.org
" License: GPLv3
"=============================================================================
let g:loaded_git = 1
""
" Run git command asynchronously
command! -nargs=+ -complete=custom,git#complete Git call git#run(<f-args>)
call SpaceVim#plugins#projectmanager#reg_callback(function('git#branch#detect'))