mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.1.0435: cursorline highlight not removed in some situation
Problem: Cursorline highlight not removed in some situation. (Vitaly Yashin) Solution: Reset last_cursorline when resetting 'cursorline'. (Christian Brabandt, closes #3481)
This commit is contained in:
@@ -125,6 +125,12 @@ comp_botline(win_T *wp)
|
||||
|
||||
#ifdef FEAT_SYN_HL
|
||||
static linenr_T last_cursorline = 0;
|
||||
|
||||
void
|
||||
reset_cursorline(void)
|
||||
{
|
||||
last_cursorline = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user