summaryrefslogtreecommitdiffstats
path: root/src/main.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/main.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/main.c')
-rw-r--r--src/main.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/main.c b/src/main.c
index 7e8cbf08ea..cf582e9df4 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)