Skip to content

Commit 320b18f

Browse files
authored
Fix tab Gdiffsplit opening empty buffer
1 parent d4877e5 commit 320b18f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/fugitive.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6627,7 +6627,7 @@ function! fugitive#Diffsplit(autodir, keepfocus, mods, arg, ...) abort
66276627
let commit = s:DirCommitFile(@%)[1]
66286628
if a:mods =~# '\<\d*tab\>'
66296629
let mods = substitute(a:mods, '\<\d*tab\>', '', 'g')
6630-
let pre = matchstr(a:mods, '\<\d*tab\>') . 'edit'
6630+
let pre = matchstr(a:mods, '\<\d*tab\>') . ' split'
66316631
else
66326632
let mods = 'keepalt ' . a:mods
66336633
let pre = ''

0 commit comments

Comments
 (0)