From eefee5e17d82e62f1b748449f0c4042d4c624633 Mon Sep 17 00:00:00 2001 From: siduck76 Date: Sun, 17 Oct 2021 11:28:47 +0530 Subject: [PATCH] clean config for inactive statusline --- lua/colors/highlights.lua | 4 ++++ lua/plugins/configs/statusline.lua | 15 --------------- 2 files changed, 4 insertions(+), 15 deletions(-) diff --git a/lua/colors/highlights.lua b/lua/colors/highlights.lua index 3318866..34ecb41 100644 --- a/lua/colors/highlights.lua +++ b/lua/colors/highlights.lua @@ -76,6 +76,10 @@ fg("CmpItemKind", white) fg("CmpItemMenu", white) -- misc + +-- inactive statuslines as thin lines +fg("StatusLineNC", one_bg2 .. " gui=underline") + fg("LineNr", grey) fg("NvimInternalError", red) fg("VertSplit", one_bg2) diff --git a/lua/plugins/configs/statusline.lua b/lua/plugins/configs/statusline.lua index 2a1e6c4..0a8f4aa 100644 --- a/lua/plugins/configs/statusline.lua +++ b/lua/plugins/configs/statusline.lua @@ -367,21 +367,6 @@ components.active[3][10] = { }, } -local InactiveStatusHL = { - fg = colors.one_bg2, - bg = "NONE", - style = "underline", -} - -components.inactive = { - { - { - provider = " ", - hl = InactiveStatusHL, - }, - }, -} - require("feline").setup { colors = { bg = colors.statusline_bg,