fix(hl): set Normal hl group sg_attr value (fixes #18024)

(cherry picked from commit 03b4b07162)
This commit is contained in:
Oliver Marriott authored and github-actions[bot] committed 2022-06-18 11:18:39 +00:00
1 parent 2ebc76b226
commit 79ca64a1ef
1 file changed
+1
+1
View File
@@ -743,6 +743,7 @@ void set_hl_group(int id, HlAttrs attrs, Dict(highlight) *dict, int link_id)
normal_bg = g->sg_rgb_bg;
normal_sp = g->sg_rgb_sp;
ui_default_colors_set();
g->sg_attr = hl_get_syn_attr(0, id, attrs);
} else {
g->sg_attr = hl_get_syn_attr(0, id, attrs);