diff options
author | bfredl <bjorn.linse@gmail.com> | 2023-11-29 11:12:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-29 11:12:25 +0100 |
commit | 584c6c25ccfc5d13ffa0a4bd6efa467beb3987fe (patch) | |
tree | ac852d82a59e79f61b5c614058c656b3dcddd26e /src/nvim/api/extmark.c | |
parent | 640680cccead28c28b1b789c254fc83d55979c08 (diff) | |
parent | a0e9ef09d7af8274c754ca6c368ef4a6f7411510 (diff) | |
download | rneovim-584c6c25ccfc5d13ffa0a4bd6efa467beb3987fe.tar.gz rneovim-584c6c25ccfc5d13ffa0a4bd6efa467beb3987fe.tar.bz2 rneovim-584c6c25ccfc5d13ffa0a4bd6efa467beb3987fe.zip |
Merge pull request #26292 from luukvbaal/decor
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.c | 3 |
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"); |