Fix focus bug on reloading multiple :Gstatus buffers

This commit is contained in:
Tim Pope 2018-12-31 00:58:38 -05:00
parent 08179e1860
commit b9825af3dc

View File

@ -1849,6 +1849,7 @@ function! fugitive#ReloadStatus(...) abort
endif
finally
if exists('restorewinnr')
unlet restorewinnr
wincmd p
endif
execute 'tabnext '.mytab