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/edit.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/edit.c') diff --git a/src/edit.c b/src/edit.c index a183324b3..0edd38be4 100644 --- a/src/edit.c +++ b/src/edit.c @@ -1058,10 +1058,6 @@ doESCkey: case K_COMMAND: // command case K_SCRIPT_COMMAND: // command do_cmdkey_command(c, 0); -#ifdef FEAT_SYN_HL - // Might need to update for 'cursorline'. - check_redraw_cursorline(); -#endif #ifdef FEAT_TERMINAL if (term_use_loop()) // Started a terminal that gets the input, exit Insert mode. -- cgit v1.2.1