Closed haShinui closed 1 year ago
having the same issue when using ufo
and statuscol
with nvchad
.
I found out that there is a line in this file ~/.local/share/nvim/lazy/base46/integrations/defaults.lua
. It maybe the reason why FoldColumn using the base01
color
FoldColumn = {
fg = theme.base0C,
bg = theme.base01,
},
I changed to
FoldColumn = {
fg = theme.base0C,
bg = theme.black,
},
And it works!.
Update: You dont need to update the ~/.local/share/nvim/lazy/base46/integrations/defaults.lua
file. Just update /.config/nvim/lua/custom/highlight.lua
like so
-- To find any highlight groups: "<cmd> Telescope highlights"
-- Each highlight group can take a table with variables fg, bg, bold, italic, etc
-- base30 variable names can also be used as colors
local M = {}
---@type Base46HLGroupsList
M.override = {
Comment = {
italic = true,
},
FoldColumn = {
bg = "black",
},
}
Yes, the FoldColumn
highlight group is applied to the built-in fold segment.
@fr0stf0x their solution will probably work for you but more generally simply clearing the FoldColumn
highlight group will make it take on the default statuscolumn highlight.
Hello So I use nvchad with nvim 0.9.1 and I use statuscol with nvim-ufo. I have themes in nvChad and for some reason it takes the second item from M.base_16 { base00 = "#fasdfa", base01 = "#something"} color, when is set base01 to another name the color stays, but if I set the second item of M.base_16 empty string then the hl/background is gone. my config in my plugin.lua of nvchad is:
and here is the color/theme lua file:
I want to keep the base01 color if possible in the case some other plugin or whatever uses it.