mirror of
https://github.com/neovim/neovim.git
synced 2026-09-14 18:02:15 +00:00
Problem: cursor lands on the wrong line when a <Cmd> mapping or autocmd
modifies lines during insert and the strip is skipped
(after v9.2.0510)
Solution: Restore cursor to tpos when skipwhite skips the strip, instead
of leaving it at end_insert_pos (glepnir).
related: vim/vim#20290
closes: vim/vim#20332
179f9efc7e
Co-authored-by: glepnir <glephunter@gmail.com>