Accept a count to :Git
Now that <mods> support is widely available, I'm considering moving all :Gsplit! variants onto :Git!, and making :0Git! suppress the split.
This commit is contained in:
parent
41a734ef49
commit
bf7f05e62b
@ -1837,7 +1837,7 @@ augroup END
|
||||
|
||||
" Section: :Git
|
||||
|
||||
call s:command("-bang -nargs=? -complete=customlist,fugitive#CompleteGit Git", "Git")
|
||||
call s:command("-bang -nargs=? -range=-1 -complete=customlist,fugitive#CompleteGit Git", "Git")
|
||||
|
||||
function! s:GitCommand(line1, line2, range, count, bang, mods, reg, arg, args) abort
|
||||
if a:bang
|
||||
|
Loading…
Reference in New Issue
Block a user