aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/extmark.c
diff options
context:
space:
mode:
authorii14 <59243201+ii14@users.noreply.github.com>2022-06-19 19:33:54 +0200
committerGitHub <noreply@github.com>2022-06-19 10:33:54 -0700
commita195dc7c83b3da16e293ddb468ef18254957b4a4 (patch)
tree80c932c5bcb8239c60a64cec02e353b50ba8db09 /src/nvim/extmark.c
parent837ea6da9f65ac4ec85421c6e4af15194cc222d0 (diff)
downloadrneovim-a195dc7c83b3da16e293ddb468ef18254957b4a4.tar.gz
rneovim-a195dc7c83b3da16e293ddb468ef18254957b4a4.tar.bz2
rneovim-a195dc7c83b3da16e293ddb468ef18254957b4a4.zip
fix(decorations): nvim_buf_set_extmark breaks conceal #19010
Closes #19007 Co-authored-by: bfredl <bjorn.linse@gmail.com> Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
Diffstat (limited to 'src/nvim/extmark.c')
-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 b9e0d18f20..1639f72990 100644
--- a/src/nvim/extmark.c
+++ b/src/nvim/extmark.c
@@ -68,6 +68,7 @@ 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->conceal
|| decor_has_sign(decor)
|| decor->ui_watched) {
decor_full = true;