refactor(nvim): make heirline statusline exit buttons fade on inactivity
This commit is contained in:
parent
336bea3973
commit
d4dec5390d
@ -381,13 +381,13 @@ return {
|
|||||||
{
|
{
|
||||||
provider = " ",
|
provider = " ",
|
||||||
hl = function(self)
|
hl = function(self)
|
||||||
local bg
|
local fg = colors.peachRed
|
||||||
if self.is_active then
|
local bg = buffer_hl.active.bg
|
||||||
bg = buffer_hl.active.bg
|
if not self.is_active then
|
||||||
else
|
fg = colors.autumnRed
|
||||||
bg = buffer_hl.inactive.bg
|
bg = buffer_hl.inactive.bg
|
||||||
end
|
end
|
||||||
return { fg = colors.waveRed, bg = bg }
|
return { fg = fg, bg = bg }
|
||||||
end,
|
end,
|
||||||
on_click = {
|
on_click = {
|
||||||
callback = function(_, minwid)
|
callback = function(_, minwid)
|
||||||
|
Loading…
Reference in New Issue
Block a user