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:
@@ -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.
|
||||
|
Reference in New Issue
Block a user