diff options
author | Munif Tanjim <hello@muniftanjim.dev> | 2022-07-31 17:38:00 +0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-31 13:38:00 +0200 |
commit | 86110ec93303a80ea14561d3976214ca27f0be63 (patch) | |
tree | b9e28655ba7034dffb4682437e5547a0bfafe307 /src | |
parent | 380417c1ddbd90b084ed27f321b575de34998a9b (diff) | |
download | rneovim-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.c | 4 |
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)); |