Change background color of statuscol
jainvaibhav671 opened this issue · comments
Vaibhav Jain commented
My Neovim currently looks like this
I would like to change the background of the statuscol to match the whole background
this is my config
{
"luukvbaal/statuscol.nvim",
config = function()
local builtin = require("statuscol.builtin")
require("statuscol").setup(
{
relculright = true,
segments = {
{text = {builtin.foldfunc}, click = "v:lua.ScFa"},
{text = {"%s"}, click = "v:lua.ScSa"},
{text = {builtin.lnumfunc, " "}, click = "v:lua.ScLa"}
}
}
)
end
}
luukvbaal commented
What is the issue here? Neovim internally applies the LineNr
, FoldColumn
, SignColumn
etc. highlight groups where applicable for 'statuscolumn'
. Beyond that, the builtin segments in this plugin also apply those groups (looks like you need FoldColumn
). Other than that, custom segments can be set through the segment.hl
field.
luukvbaal commented
Closing since "Change background color of statuscol" is already possible.