mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.1.0373: screen updating still slow when 'cursorline' is set
Problem: Screen updating still slow when 'cursorline' is set.
Solution: Fix setting last_cursorline.
1b7fefcbce
This commit is contained in:
parent
656648d855
commit
e7a9c76ab0
@ -110,11 +110,11 @@ static void redraw_for_cursorline(win_T *wp)
|
||||
// in the same window.
|
||||
redrawWinline(wp, last_cursorline, false);
|
||||
redrawWinline(wp, wp->w_cursor.lnum, false);
|
||||
last_cursorline = wp->w_cursor.lnum;
|
||||
redraw_win_later(wp, VALID);
|
||||
} else {
|
||||
redraw_win_later(wp, SOME_VALID);
|
||||
}
|
||||
last_cursorline = wp->w_cursor.lnum;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user