From d4dec5390d6158af4d79d293729d52ef9e797cd2 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Tue, 5 Sep 2023 19:17:58 -0500 Subject: [PATCH] refactor(nvim): make heirline statusline exit buttons fade on inactivity --- dots/.config/nvim/lua/plugins/configs/heirline.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dots/.config/nvim/lua/plugins/configs/heirline.lua b/dots/.config/nvim/lua/plugins/configs/heirline.lua index c935f179..7fe93a31 100644 --- a/dots/.config/nvim/lua/plugins/configs/heirline.lua +++ b/dots/.config/nvim/lua/plugins/configs/heirline.lua @@ -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)