diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-03-28 04:43:51 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-03-28 06:15:26 +0800 |
commit | 4baeb96c1bb66c845b4bc58482df4e601485eec3 (patch) | |
tree | 4a6bfbead593d25778826ceababf2d3222a51783 /src/nvim/normal.c | |
parent | a201dd265f3f20be954d8b7ee7f65d3eb6f920f6 (diff) | |
download | rneovim-4baeb96c1bb66c845b4bc58482df4e601485eec3.tar.gz rneovim-4baeb96c1bb66c845b4bc58482df4e601485eec3.tar.bz2 rneovim-4baeb96c1bb66c845b4bc58482df4e601485eec3.zip |
vim-patch:8.2.4638: superfluous check if a redraw is needed for 'cursorline'
Problem: Superfluous check if a redraw is needed for 'cursorline'.
Solution: Remove check_redraw_cursorline(). (closes vim/vim#10030, closes vim/vim#10029)
https://github.com/vim/vim/commit/3e559cd88486ffab6b6fb4e0921b4600d137a617
redraw_after_callback() is N/A.
Omits changes that just revert code from patch 8.2.4630.
Diffstat (limited to 'src/nvim/normal.c')
-rw-r--r-- | src/nvim/normal.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c index e773351d63..6c7595d1a4 100644 --- a/src/nvim/normal.c +++ b/src/nvim/normal.c @@ -1295,9 +1295,6 @@ static void normal_redraw(NormalState *s) redrawWinline(curwin, curwin->w_cursor.lnum); } - // Might need to update for 'cursorline'. - check_redraw_cursorline(); - if (VIsual_active) { update_curbuf(INVERTED); // update inverted part } else if (must_redraw) { |