aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/extmark.c
diff options
context:
space:
mode:
authorYatao Li <yatli@microsoft.com>2021-09-16 07:53:56 +0800
committerYatao Li <yatli@microsoft.com>2022-05-03 22:26:02 +0800
commit29a6cda3ffe981b09d4c59d49d6c97a4ea13ca8b (patch)
treeaef77156a4164f79b004e92bd685d23a40ba6bfb /src/nvim/extmark.c
parent8ea84eee570fd1ec560fe149e611d10034d9a223 (diff)
downloadrneovim-29a6cda3ffe981b09d4c59d49d6c97a4ea13ca8b.tar.gz
rneovim-29a6cda3ffe981b09d4c59d49d6c97a4ea13ca8b.tar.bz2
rneovim-29a6cda3ffe981b09d4c59d49d6c97a4ea13ca8b.zip
feat(api/ui): win_extmarks
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);
}