mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 23:48:32 +00:00
vim-patch:8.2.4644: redrawing too often when 'relativenumber' is set (#17756)
Problem: Redrawing too often when 'relativenumber' is set.
Solution: Only redraw when the cursor line changed. (Lewis Russell,
closes vim/vim#10040)
1624639ec8
This commit is contained in:
@@ -1211,6 +1211,8 @@ struct window_S {
|
||||
colnr_T w_old_visual_col; ///< last known start of visual part
|
||||
colnr_T w_old_curswant; ///< last known value of Curswant
|
||||
|
||||
linenr_T w_last_cursor_lnum_rnu; ///< cursor lnum when 'rnu' was last redrawn
|
||||
|
||||
// 'listchars' characters. Defaults set in set_chars_option().
|
||||
struct {
|
||||
int eol;
|
||||
|
Reference in New Issue
Block a user