Problem: Cursorline highlight not removed in some situation. (Vitaly
Yashin)
Solution: Reset last_cursorline when resetting 'cursorline'. (Christian
Brabandt, closes #3481)
#ifdef FEAT_SYN_HL
static linenr_T last_cursorline = 0;
+
+ void
+reset_cursorline(void)
+{
+ last_cursorline = 0;
+}
#endif
/*
p_lrm = !p_lnr;
#endif
+#ifdef FEAT_SYN_HL
+ else if ((int *)varp == &curwin->w_p_cul && !value && old_value)
+ reset_cursorline();
+#endif
+
#ifdef FEAT_PERSISTENT_UNDO
/* 'undofile' */
else if ((int *)varp == &curbuf->b_p_udf || (int *)varp == &p_udf)
/* move.c */
+void reset_cursorline(void);
void update_topline_redraw(void);
void update_topline(void);
void update_curswant(void);
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 435,
/**/
434,
/**/