aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2022-10-14 20:46:26 +0100
committerGitHub <noreply@github.com>2022-10-14 20:46:26 +0100
commitcb7da02701d542d3c1618f44f6217944986f09f9 (patch)
treec85f76108cafd55733f8f56ab13081cb55bdb286 /src
parente6f7e038b8bbca487e78ebfc6fe21d6852330623 (diff)
parent546b294e74ac10d0a5e1216dd530fc96bdc66f29 (diff)
downloadrneovim-cb7da02701d542d3c1618f44f6217944986f09f9.tar.gz
rneovim-cb7da02701d542d3c1618f44f6217944986f09f9.tar.bz2
rneovim-cb7da02701d542d3c1618f44f6217944986f09f9.zip
Merge pull request #20645 from lewis6991/fix/decor_redraw_same_id
fix(decoration): redraw correctly when re-using ids
Diffstat (limited to 'src')
-rw-r--r--src/nvim/extmark.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/extmark.c b/src/nvim/extmark.c
index 176ad0d5c8..df87cc8ab6 100644
--- a/src/nvim/extmark.c
+++ b/src/nvim/extmark.c
@@ -112,6 +112,7 @@ void extmark_set(buf_T *buf, uint32_t ns_id, uint32_t *idp, int row, colnr_T col
marktree_revise(buf->b_marktree, itr, decor_level, old_mark);
goto revised;
}
+ decor_remove(buf, old_mark.pos.row, old_mark.pos.row, old_mark.decor_full);
marktree_del_itr(buf->b_marktree, itr, false);
}
} else {