Skip to content

Commit

Permalink
Fix tab Gdiffsplit opening empty buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinhwang91 authored Nov 19, 2024
1 parent d4877e5 commit 320b18f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/fugitive.vim
Original file line number Diff line number Diff line change
Expand Up @@ -6627,7 +6627,7 @@ function! fugitive#Diffsplit(autodir, keepfocus, mods, arg, ...) abort
let commit = s:DirCommitFile(@%)[1]
if a:mods =~# '\<\d*tab\>'
let mods = substitute(a:mods, '\<\d*tab\>', '', 'g')
let pre = matchstr(a:mods, '\<\d*tab\>') . 'edit'
let pre = matchstr(a:mods, '\<\d*tab\>') . ' split'
else
let mods = 'keepalt ' . a:mods
let pre = ''
Expand Down

0 comments on commit 320b18f

Please sign in to comment.