0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

Fix hang when resizing in diff mode and there are concealed items.

This commit is contained in:
Bram Moolenaar
2010-07-20 22:33:34 +02:00
parent 5bedfc6091
commit c095b280df
4 changed files with 16 additions and 24 deletions

View File

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