diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-12-13 22:20:09 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-12-13 22:20:09 +0100 |
commit | 98aefe7c3250bb5d4153b994f878594d1745424e (patch) | |
tree | 262ae31c2dbf4ac0353f5564a2419a79267fa3ae /src/buffer.c | |
parent | 5c5697f29829fc3b21fc5452fe8f239f6a4cb8e1 (diff) |
patch 8.1.0579: cannot attach properties to textv8.1.0579
Problem: Cannot attach properties to text.
Solution: First part of adding text properties.
Diffstat (limited to 'src/buffer.c')
-rw-r--r-- | src/buffer.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c index 8235a4fcaa..bb940691c3 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -823,6 +823,9 @@ buf_freeall(buf_T *buf, int flags) #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 */ } |