summaryrefslogtreecommitdiffstats
path: root/src/edit.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-03-27 19:26:55 +0100
committerBram Moolenaar <Bram@vim.org>2022-03-27 19:26:55 +0100
commit3e559cd88486ffab6b6fb4e0921b4600d137a617 (patch)
tree282c592a9ddd18ff55bbe6c4094157167f86bfda /src/edit.c
parent565d1278cbbb7bc927bee207d5c2bc0bb95928fa (diff)
patch 8.2.4638: superfluous check if a redraw is needed for 'cursorline'v8.2.4639v8.2.4638
Problem: Superfluous check if a redraw is needed for 'cursorline'. Solution: Remove check_redraw_cursorline(). (closes #10030, closes #10029)
Diffstat (limited to 'src/edit.c')
-rw-r--r--src/edit.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/edit.c b/src/edit.c
index a183324b35..0edd38be4c 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -1058,10 +1058,6 @@ doESCkey:
case K_COMMAND: // <Cmd>command<CR>
case K_SCRIPT_COMMAND: // <ScriptCmd>command<CR>
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.