From 79ca64a1ef776d3f74d018b5ce6528fb8393a29b Mon Sep 17 00:00:00 2001 From: Oliver Marriott Date: Wed, 1 Jun 2022 13:53:06 +1000 Subject: [PATCH] fix(hl): set Normal hl group sg_attr value (fixes #18024) (cherry picked from commit 03b4b07162386b2e5c3c9ef470476f02dce05115) --- src/nvim/highlight_group.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nvim/highlight_group.c b/src/nvim/highlight_group.c index 3092aaefab..2c6cb06b52 100644 --- a/src/nvim/highlight_group.c +++ b/src/nvim/highlight_group.c @@ -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);