From 86110ec93303a80ea14561d3976214ca27f0be63 Mon Sep 17 00:00:00 2001 From: Munif Tanjim Date: Sun, 31 Jul 2022 17:38:00 +0600 Subject: fix(highlight): add missing 'nocombine' to nvim_get_hl_* apis (#19586) --- src/nvim/highlight.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/nvim/highlight.c b/src/nvim/highlight.c index 6226130322..71c7194479 100644 --- a/src/nvim/highlight.c +++ b/src/nvim/highlight.c @@ -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)); -- cgit