mirror of
https://github.com/neovim/neovim.git
synced 2025-11-17 15:51:32 +00:00
Problem: Undo corrupted with 'completeopt' "preinsert" when switching
buffer or window.
Solution: Do not delete preinsert text when switching buffer or window.
(zeertzjq)
related: neovim/neovim#33581
closes: vim/vim#17193
1343681aba
(cherry picked from commit 63689deb45)