commit bf7f05e62b75570d2bde8cbc131bfe25dbcdb427 (tree)
parent 41a734ef49c78cfdb97426cda811ee99c39e011a
Author: Tim Pope <code@tpope.net>
Date: Wed, 5 Jun 2019 22:43:31 -0400
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.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim
@@ -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