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

(cherry picked from commit 03b4b07162)
This commit is contained in:
Oliver Marriott
2022-06-01 13:53:06 +10:00
committed by github-actions[bot]
parent 2ebc76b226
commit 79ca64a1ef

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);