mirror of
https://github.com/neovim/neovim.git
synced 2026-02-09 14:02:05 +10:00
Problem: screenpos() may return invalid position
after switching buffers (Greg Hurrell)
Solution: reset w_leftcol if wrapping has been set
after copying wrap option
fixes: vim/vim#15792
closes: vim/vim#15803
b065a10e24
Co-authored-by: Christian Brabandt <cb@256bit.org>