mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
patch 8.2.4630: 'cursorline' not always updated with 'culopt' is "screenline"
Problem: 'cursorline' not always updated with 'cursorlineopt' is "screenline". Solution: Call check_redraw_cursorline() more often. (closes #10013)
This commit is contained in:
@@ -6971,6 +6971,10 @@ 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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user