mirror of
https://github.com/tpope/vim-fugitive.git
synced 2026-10-07 12:44:39 +08:00
:Gblame: Retain original alternate buffer
This commit is contained in:
1 parent
b4b75ef682
commit
64716b9622
1 file changed
+1
-1
+1
-1
@@ -1483,7 +1483,7 @@ function! s:Blame(bang,line1,line2,count,args) abort
|
||||
let top = line('w0') + &scrolloff
|
||||
let current = line('.')
|
||||
let s:temp_files[temp] = s:repo().dir()
|
||||
exe 'leftabove vsplit '.temp
|
||||
exe 'keepalt leftabove vsplit '.temp
|
||||
let b:fugitive_blamed_bufnr = bufnr
|
||||
let w:fugitive_leave = restore
|
||||
let b:fugitive_blame_arguments = join(a:args,' ')
|
||||
|
||||
Reference in new issue
Block a user