From 3e559cd88486ffab6b6fb4e0921b4600d137a617 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sun, 27 Mar 2022 19:26:55 +0100 Subject: 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) --- src/main.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 7e8cbf08e..cf582e9df 100644 --- a/src/main.c +++ b/src/main.c @@ -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) -- cgit v1.2.1