mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-13 05:43:52 -05:00
Support :Git with no arguments
This commit is contained in:
@@ -405,7 +405,7 @@ call s:add_methods('buffer',['getvar','getline','repo','type','name','commit','p
|
||||
" }}}1
|
||||
" Git {{{1
|
||||
|
||||
call s:command("-bar -bang -nargs=? -complete=customlist,s:GitComplete Git :call s:Git(<bang>0,<f-args>)")
|
||||
call s:command("-bar -bang -nargs=? -complete=customlist,s:GitComplete Git :call s:Git(<bang>0,<q-args>)")
|
||||
|
||||
function! s:ExecuteInTree(cmd) abort
|
||||
let cd = exists('*haslocaldir') && haslocaldir() ? 'lcd ' : 'cd '
|
||||
|
||||
Reference in New Issue
Block a user