commit | 98aefe7c3250bb5d4153b994f878594d1745424e | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Dec 13 22:20:09 2018 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Dec 13 22:20:09 2018 +0100 |
tree | 262ae31c2dbf4ac0353f5564a2419a79267fa3ae | |
parent | 5c5697f29829fc3b21fc5452fe8f239f6a4cb8e1 [diff] [blame] |
patch 8.1.0579: cannot attach properties to text Problem: Cannot attach properties to text. Solution: First part of adding text properties.
diff --git a/src/buffer.c b/src/buffer.c index 8235a4f..bb94069 100644 --- a/src/buffer.c +++ b/src/buffer.c
@@ -823,6 +823,9 @@ #ifdef FEAT_SYN_HL syntax_clear(&buf->b_s); /* reset syntax info */ #endif +#ifdef FEAT_TEXT_PROP + clear_buf_prop_types(buf); +#endif buf->b_flags &= ~BF_READERR; /* a read error is no longer relevant */ }