Fix tab restoration edge case in :Gwrite

This commit is contained in:
Tim Pope 2009-10-18 19:54:30 -04:00
parent 51569b5ea2
commit c71408d5c1

View File

@ -591,7 +591,7 @@ function! s:Write(force,...) abort
let did = 1
finally
wincmd p
execute 'tabnext '.tab
execute 'tabnext '.mytab
endtry
endif
endfor