mirror of
https://github.com/neovim/neovim.git
synced 2025-09-26 13:08:33 +00:00
highlight: Fix missing .rgb_sp_color in initializers (#9287)
terminal_get_line_attributes() had this bug for a long time, though it
likely had no effect visible to users.
ref #9028
ref 60f845ca55
This commit is contained in:
@@ -188,6 +188,7 @@ int hl_get_underline(void)
|
||||
.rgb_ae_attr = (int16_t)HL_UNDERLINE,
|
||||
.rgb_fg_color = -1,
|
||||
.rgb_bg_color = -1,
|
||||
.rgb_sp_color = -1,
|
||||
},
|
||||
.kind = kHlUI,
|
||||
.id1 = 0,
|
||||
|
@@ -610,6 +610,7 @@ void terminal_get_line_attributes(Terminal *term, win_T *wp, int linenr,
|
||||
.rgb_ae_attr = (int16_t)hl_attrs,
|
||||
.rgb_fg_color = vt_fg,
|
||||
.rgb_bg_color = vt_bg,
|
||||
.rgb_sp_color = -1,
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user