fix : make inactive statuslines as thin lines

This commit is contained in:
siduck76 2021-09-26 23:48:25 +05:30
parent 98ec153e8f
commit cb3c5682a8
2 changed files with 15 additions and 8 deletions

View File

@ -71,13 +71,8 @@ bg("PmenuThumb", nord_blue)
-- misc
fg("LineNr", grey)
fg("NvimInternalError", red)
-- inactive statuslines as thin splitlines
fg("StatusLineNC", one_bg2 .. " gui=underline")
fg("VertSplit", one_bg2)
-- fg_bg("Visual",light_grey, colors.lightbg)
if ui.transparency then
bg("Normal", "NONE")

View File

@ -55,9 +55,6 @@ local components = {
table.insert(components.active, {})
table.insert(components.active, {})
table.insert(components.active, {})
table.insert(components.inactive, {})
table.insert(components.inactive, {})
table.insert(components.inactive, {})
components.active[1][1] = {
provider = statusline_style.main_icon,
@ -366,6 +363,21 @@ 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,