summaryrefslogtreecommitdiffstats
path: root/src/drawscreen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drawscreen.c')
-rw-r--r--src/drawscreen.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/drawscreen.c b/src/drawscreen.c
index 77a8a7b276..7927bedc23 100644
--- a/src/drawscreen.c
+++ b/src/drawscreen.c
@@ -1379,6 +1379,12 @@ fold_line(
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