1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-21 03:43:44 +08:00
SpaceVim/bundle/git.vim/plugin/git.vim
2025-02-09 23:29:48 +08:00

19 lines
601 B
VimL

"=============================================================================
" git.vim --- git plugin for spacevim
" Copyright (c) 2016-2023 Wang Shidong & Contributors
" Author: Wang Shidong < wsdjeg@outlook.com >
" URL: https://spacevim.org
" License: GPLv3
"=============================================================================
let g:loaded_git = 1
if has('nvim-0.9.0')
command! -nargs=+ -complete=custom,git#complete Git lua require('git').run(<q-args>)
else
""
" Run git command asynchronously
command! -nargs=+ -complete=custom,git#complete Git call git#run(<f-args>)
endif