motiejus/dotfiles

Unnamed repository; edit this file 'description' to name the repository.
git clone https://git.jakstys.lt/motiejus/dotfiles.git
Log | Tree | Refs | README | LICENSE

commit 81ca98d7e8498d63383f5a4ca6cee2a07dff24c7 (tree)
parent 9bbbb65888293f6d6a4da55bc8b0d8907ba779d4
Author: Appu Joseph <apjo@kaloom.com>
Date:   Tue, 18 Feb 2020 10:07:37 -0500

Fix Trailing Characters, Invalid range error for :<count>Gstatus

Correct the position of newly added keepalt option from
'botright <count>keepalt split' to 'botright keepalt <count>split'

Diffstat:
Mautoload/fugitive.vim | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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)