aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/extmark.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-05-03 16:59:24 +0200
committerGitHub <noreply@github.com>2022-05-03 16:59:24 +0200
commit4df11463b288a227a7052b7fd9c0a3f737a51c1e (patch)
tree0b715c8dd093763d480cc62ae3873d7abf4b9047 /src/nvim/extmark.c
parent70e2c5d10d2574b77c56d0bebeb61527876ff0b1 (diff)
parent29a6cda3ffe981b09d4c59d49d6c97a4ea13ca8b (diff)
downloadrneovim-4df11463b288a227a7052b7fd9c0a3f737a51c1e.tar.gz
rneovim-4df11463b288a227a7052b7fd9c0a3f737a51c1e.tar.bz2
rneovim-4df11463b288a227a7052b7fd9c0a3f737a51c1e.zip
Merge pull request #15674 from yatli/ui_event_extmark
API/UI: ui_event_extmark
Diffstat (limited to 'src/nvim/extmark.c')
-rw-r--r--src/nvim/extmark.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/extmark.c b/src/nvim/extmark.c
index ffd68926f1..1b0e2c8590 100644
--- a/src/nvim/extmark.c
+++ b/src/nvim/extmark.c
@@ -69,7 +69,8 @@ void extmark_set(buf_T *buf, uint32_t ns_id, uint32_t *idp, int row, colnr_T col
if (decor) {
if (kv_size(decor->virt_text)
|| kv_size(decor->virt_lines)
- || decor_has_sign(decor)) {
+ || decor_has_sign(decor)
+ || decor->ui_watched) {
decor_full = true;
decor = xmemdup(decor, sizeof *decor);
}