aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/extmark.c
diff options
context:
space:
mode:
authorLuuk van Baal <luukvbaal@gmail.com>2023-11-29 02:17:16 +0100
committerLuuk van Baal <luukvbaal@gmail.com>2023-11-29 03:57:23 +0100
commita0e9ef09d7af8274c754ca6c368ef4a6f7411510 (patch)
tree79570114b6a038c79f9277f982b046f96c6f9e38 /src/nvim/api/extmark.c
parent8868ecd401f6a45d005fe68c57fbba79d32af192 (diff)
downloadrneovim-a0e9ef09d7af8274c754ca6c368ef4a6f7411510.tar.gz
rneovim-a0e9ef09d7af8274c754ca6c368ef4a6f7411510.tar.bz2
rneovim-a0e9ef09d7af8274c754ca6c368ef4a6f7411510.zip
fix(decorations): do not apply sign highlight id as range attr id
Diffstat (limited to 'src/nvim/api/extmark.c')
-rw-r--r--src/nvim/api/extmark.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/nvim/api/extmark.c b/src/nvim/api/extmark.c
index d9e41f2448..d71498d6ed 100644
--- a/src/nvim/api/extmark.c
+++ b/src/nvim/api/extmark.c
@@ -781,9 +781,6 @@ Integer nvim_buf_set_extmark(Buffer buffer, Integer ns_id, Integer line, Integer
DecorSignHighlight sh = decor_sh_from_inline(hl);
decor_range_add_sh(&decor_state, r, c, line2, col2, &sh, true, (uint32_t)ns_id, id);
}
- if (sign.flags & kSHIsSign) {
- decor_range_add_sh(&decor_state, r, c, line2, col2, &sign, true, (uint32_t)ns_id, id);
- }
} else {
if (opts->ephemeral) {
api_set_error(err, kErrorTypeException, "not yet implemented");