Merge pull request #26292 from luukvbaal/decor

fix(decorations): do not apply sign highlight id as range attr id
This commit is contained in:
bfredl
2023-11-29 11:12:25 +01:00
committed by GitHub
3 changed files with 16 additions and 5 deletions

View File

@@ -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");