Skip to content

Commit

Permalink
fix(hl): set Normal hl group sg_attr value (fixes #18024)
Browse files Browse the repository at this point in the history
(cherry picked from commit 03b4b07)
  • Loading branch information
rktjmp authored and github-actions[bot] committed Jun 18, 2022
1 parent 2ebc76b commit 79ca64a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/nvim/highlight_group.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 79ca64a

Please sign in to comment.