mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 09:26:30 +00:00
fix(column): clear "b_signcols" when marktree is cleared
This commit is contained in:

committed by
Lewis Russell

parent
51f783f2fa
commit
13d50c3b13
@@ -309,6 +309,9 @@ void extmark_free_all(buf_T *buf)
|
||||
|
||||
marktree_clear(buf->b_marktree);
|
||||
|
||||
buf->b_signcols.max = 0;
|
||||
CLEAR_FIELD(buf->b_signcols.count);
|
||||
|
||||
map_destroy(uint32_t, buf->b_extmark_ns);
|
||||
*buf->b_extmark_ns = (Map(uint32_t, uint32_t)) MAP_INIT;
|
||||
}
|
||||
|
Reference in New Issue
Block a user