From 3acc4314ff0b3802b1d2312adbf2b91dbfbdfd8f Mon Sep 17 00:00:00 2001 From: Will Norris Date: Sun, 17 Jul 2022 17:09:16 -0700 Subject: [PATCH] fix: allow extend_highlight to set cterm attribute (#307) Fixes #301. --- colors/onedark.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/colors/onedark.vim b/colors/onedark.vim index f33b42e..35af9a6 100644 --- a/colors/onedark.vim +++ b/colors/onedark.vim @@ -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