mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-14 22:33:51 -05:00
Eliminate unnecessary redraw to clear up :Gdiffsplit sync issue
Resolves: https://github.com/tpope/vim-fugitive/issues/1750
This commit is contained in:
@@ -5487,8 +5487,6 @@ function! fugitive#Diffsplit(autodir, keepfocus, mods, arg, args) abort
|
||||
set diffopt-=vertical
|
||||
endif
|
||||
execute mods 'diffsplit' s:fnameescape(spec)
|
||||
let &l:readonly = &l:readonly
|
||||
redraw
|
||||
let w:fugitive_diff_restore = restore
|
||||
let winnr = winnr()
|
||||
if getwinvar('#', '&diff')
|
||||
|
||||
Reference in New Issue
Block a user