commit | c095b280df5bb8f33c154808e70c48dc445c5f44 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Jul 20 22:33:34 2010 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Jul 20 22:33:34 2010 +0200 |
tree | 6b961a0c04d3a044eb46231e8cb6b16bc9ce16eb | |
parent | 5bedfc6091432adfaa5e9ff177f30ec9dbe5de48 [diff] [blame] |
Fix hang when resizing in diff mode and there are concealed items.
diff --git a/src/screen.c b/src/screen.c index db26046..69df0b2 100644 --- a/src/screen.c +++ b/src/screen.c
@@ -4055,6 +4055,12 @@ 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