fix: allow extend_highlight to set cterm attribute (#307)

Fixes #301.
This commit is contained in:
Will Norris
2022-07-17 17:09:16 -07:00
committed by GitHub
parent ff0e0a488c
commit 3acc4314ff

View File

@@ -85,6 +85,9 @@ function! s:h(group, style, ...)
if (has_key(a:style, "gui"))
let s:highlight.gui = a:style.gui
endif
if (has_key(a:style, "cterm"))
let s:highlight.cterm = a:style.cterm
endif
else
let s:highlight = a:style
let s:group_colors[a:group] = s:highlight " Cache default highlight group settings