fix(highlight): add missing 'nocombine' to nvim_get_hl_* apis (#19586)

This commit is contained in:
Munif Tanjim
2022-07-31 17:38:00 +06:00
committed by GitHub
parent 380417c1dd
commit 86110ec933
2 changed files with 11 additions and 4 deletions

View File

@@ -778,6 +778,10 @@ Dictionary hlattrs2dict(Dictionary *hl_alloc, HlAttrs ae, bool use_rgb)
PUT_C(hl, "strikethrough", BOOLEAN_OBJ(true));
}
if (mask & HL_NOCOMBINE) {
PUT_C(hl, "nocombine", BOOLEAN_OBJ(true));
}
if (use_rgb) {
if (mask & HL_FG_INDEXED) {
PUT_C(hl, "fg_indexed", BOOLEAN_OBJ(true));