mirror of
https://github.com/neovim/neovim.git
synced 2025-10-02 07:58:35 +00:00
vim-patch:8.1.0448: cursorline not removed when using 'cursorbind'
Problem: Cursorline not removed when using 'cursorbind'. (Justin Keyes)
Solution: Store the last cursor line per window. (closes vim/vim#3488)
4a5abbd613
This commit is contained in:
@@ -983,9 +983,11 @@ struct window_S {
|
||||
used to try to stay in the same column
|
||||
for up/down cursor motions. */
|
||||
|
||||
int w_set_curswant; /* If set, then update w_curswant the next
|
||||
time through cursupdate() to the
|
||||
current virtual column */
|
||||
int w_set_curswant; // If set, then update w_curswant the next
|
||||
// time through cursupdate() to the
|
||||
// current virtual column
|
||||
|
||||
linenr_T w_last_cursorline; ///< where last 'cursorline' was drawn
|
||||
|
||||
// the next seven are used to update the visual part
|
||||
char w_old_visual_mode; ///< last known VIsual_mode
|
||||
|
Reference in New Issue
Block a user