0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -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:
zeertzjq
2022-03-27 19:26:55 +01:00
committed by Bram Moolenaar
parent 565d1278cb
commit 3e559cd884
11 changed files with 94 additions and 41 deletions

View File

@@ -6971,10 +6971,6 @@ nv_edit(cmdarg_T *cap)
coladvance(getviscol());
State = save_State;
}
#ifdef FEAT_SYN_HL
// Might need to update for 'cursorline'.
check_redraw_cursorline();
#endif
invoke_edit(cap, FALSE, cap->cmdchar, FALSE);
}