refactor(nvim): make heirline statusline exit buttons fade on inactivity

This commit is contained in:
Price Hiller 2023-09-05 19:17:58 -05:00
parent 336bea3973
commit d4dec5390d
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8

View File

@ -381,13 +381,13 @@ return {
{
provider = " 󰅙 ",
hl = function(self)
local bg
if self.is_active then
bg = buffer_hl.active.bg
else
local fg = colors.peachRed
local bg = buffer_hl.active.bg
if not self.is_active then
fg = colors.autumnRed
bg = buffer_hl.inactive.bg
end
return { fg = colors.waveRed, bg = bg }
return { fg = fg, bg = bg }
end,
on_click = {
callback = function(_, minwid)