Change work tree buffer on :Gwrite exactly once

This commit is contained in:
Tim Pope 2019-08-18 09:06:08 -04:00
parent 1c22b69652
commit ed6f4256fc

View File

@ -4146,6 +4146,7 @@ function! s:WriteCommand(line1, line2, range, count, bang, mods, reg, arg, args)
endif endif
execute 'tabnext '.mytab execute 'tabnext '.mytab
endtry endtry
break
endif endif
endfor endfor
endfor endfor