From 81ca98d7e8498d63383f5a4ca6cee2a07dff24c7 Mon Sep 17 00:00:00 2001 From: Appu Joseph Date: Tue, 18 Feb 2020 10:07:37 -0500 Subject: [PATCH] Fix Trailing Characters, Invalid range error for :Gstatus Correct the position of newly added keepalt option from 'botright keepalt split' to 'botright keepalt split' --- autoload/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index dd740b7..9b69a8b 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -2570,7 +2570,7 @@ function! s:StatusCommand(line1, line2, range, count, bang, mods, reg, arg, args elseif a:bang return mods . 'pedit' . arg . '|wincmd P' else - return mods . (a:count > 0 ? a:count : '') . 'keepalt split' . arg + return mods . 'keepalt ' . (a:count > 0 ? a:count : '') . 'split' . arg endif catch /^fugitive:/ return 'echoerr ' . string(v:exception)