aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMunif Tanjim <hello@muniftanjim.dev>2022-07-31 17:38:00 +0600
committerGitHub <noreply@github.com>2022-07-31 13:38:00 +0200
commit86110ec93303a80ea14561d3976214ca27f0be63 (patch)
treeb9e28655ba7034dffb4682437e5547a0bfafe307 /src
parent380417c1ddbd90b084ed27f321b575de34998a9b (diff)
downloadrneovim-86110ec93303a80ea14561d3976214ca27f0be63.tar.gz
rneovim-86110ec93303a80ea14561d3976214ca27f0be63.tar.bz2
rneovim-86110ec93303a80ea14561d3976214ca27f0be63.zip
fix(highlight): add missing 'nocombine' to nvim_get_hl_* apis (#19586)
Diffstat (limited to 'src')
-rw-r--r--src/nvim/highlight.c4
1 files changed, 4 insertions, 0 deletions
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));