mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
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 #10030, closes #10029)
This commit is contained in:
@@ -1384,10 +1384,6 @@ main_loop(
|
||||
update_topline();
|
||||
validate_cursor();
|
||||
|
||||
#ifdef FEAT_SYN_HL
|
||||
// Might need to update for 'cursorline'.
|
||||
check_redraw_cursorline();
|
||||
#endif
|
||||
if (VIsual_active)
|
||||
update_curbuf(INVERTED); // update inverted part
|
||||
else if (must_redraw)
|
||||
|
Reference in New Issue
Block a user