From a7d224bfd178d45acc60a8651db4c055a4593562 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Wed, 1 Sep 2021 09:49:57 -0400 Subject: [PATCH] Support :Git ++curwin blame % --- autoload/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 09c4120..7a0c381 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -6680,7 +6680,7 @@ function! s:BlameSubcommand(line1, count, range, bang, mods, options) abort let reload = '|call fugitive#DidChange(fugitive#Result(' . string(temp_state.file) . '))' let mods = s:Mods(a:mods) if a:count != 0 - exe 'silent keepalt' mods 'split' s:fnameescape(temp) + exe 'silent keepalt' mods get(a:options, 'curwin') ? 'edit' : 'split' s:fnameescape(temp) elseif !&modified || a:bang || &bufhidden ==# 'hide' || (empty(&bufhidden) && &hidden) exe 'silent' mods 'edit' . (a:bang ? '! ' : ' ') . s:fnameescape(temp) else