Problem: With concealing enabled and indirectly closing a fold the cursor
may be somewhere in a folded line.
Solution: Recompute the cursor position when the cursor line can be
concealed. (closes #8480)
curwin->w_cline_folded = TRUE;
curwin->w_valid |= (VALID_CHEIGHT|VALID_CROW);
}
+
+# ifdef FEAT_CONCEAL
+ // When the line was not folded w_wrow may have been set, recompute it.
+ if (wp == curwin && lnum == wp->w_cursor.lnum && conceal_cursor_line(wp))
+ curs_columns(TRUE);
+# endif
}
#endif
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 3090,
/**/
3089,
/**/