From e250f9730ef3456ed46be57e54fe9cdb0e4b00c1 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Thu, 11 Jul 2019 17:33:21 -0400 Subject: [PATCH] Fix :Gblame on win32 Closes https://github.com/tpope/vim-fugitive/issues/1284 --- autoload/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 9561eb7..e5b4dcd 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -4262,7 +4262,7 @@ function! s:BlameCommand(line1, line2, range, count, bang, mods, reg, arg, args) let current = line('.') let temp = s:Resolve(temp) let s:temp_files[s:cpath(temp)] = { 'dir': s:Dir(), 'filetype': 'fugitiveblame', 'args': cmd, 'bufnr': bufnr } - exe 'keepalt' (a:bang ? 'split' : 'leftabove vsplit') . temp + exe 'keepalt' (a:bang ? 'split' : 'leftabove vsplit') s:fnameescape(temp) let b:fugitive_blamed_bufnr = bufnr let b:fugitive_type = 'blame' let w:fugitive_leave = restore