Fix error generating command for :'<,'>Gblame
Closes https://github.com/tpope/vim-fugitive/issues/1308
This commit is contained in:
parent
1d2821f91e
commit
34bfcd471b
@ -4774,7 +4774,7 @@ function! s:BlameSubcommand(line1, count, range, bang, mods, args) abort
|
||||
if len(ranges + commits + files) || raw
|
||||
let mods = s:Mods(a:mods)
|
||||
if a:count != 0
|
||||
exe 'silent keepalt' mods 'split' . s:fnameescape(temp)
|
||||
exe 'silent keepalt' mods 'split' s:fnameescape(temp)
|
||||
elseif !&modified || a:bang || &bufhidden ==# 'hide' || (empty(&bufhidden) && &hidden)
|
||||
exe 'silent' mods 'edit' . (a:bang ? '! ' : ' ') . s:fnameescape(temp)
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user