0
0
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:
Bram Moolenaar
2018-09-25 22:17:54 +02:00
parent 09037503ea
commit 8c63e0ec31
4 changed files with 14 additions and 0 deletions

View File

@@ -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
/*