mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.1.2031: cursor position wrong when resizing and using conceal
Problem: Cursor position wrong when resizing and using conceal.
Solution: Set the flags that the cursor position is valid when setting the
row and column during redrawing. (closes vim/vim#4931)
5babc6e858
This commit is contained in:
parent
acaf5d233b
commit
58033e15d5
@ -3868,6 +3868,7 @@ win_line (
|
||||
}
|
||||
wp->w_wrow = row;
|
||||
did_wcol = true;
|
||||
curwin->w_valid |= VALID_WCOL|VALID_WROW|VALID_VIRTCOL;
|
||||
}
|
||||
|
||||
// Don't override visual selection highlighting.
|
||||
|
Loading…
Reference in New Issue
Block a user