summaryrefslogtreecommitdiff
path: root/src/screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/screen.c b/src/screen.c
index db26046ae..69df0b2cd 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -4055,6 +4055,12 @@ win_line(wp, lnum, startrow, endrow, nochange)
char_attr = syntax_attr;
else
char_attr = hl_combine_attr(syntax_attr, char_attr);
+# ifdef FEAT_CONCEAL
+ /* no concealing past the end of the line, it interferes
+ * with line highlighting */
+ if (c == NUL)
+ syntax_flags = 0;
+# endif
}
#endif