>! i can see color on those
>! #000000
>! red
>! but not on those
>! rgb(0,45,65);
>! rgba(2,45,23,1);
Here is C:\Users\user\AppData\Local\nvim\lua\plugins\init.lua file colorizer code that comes preinstalled with nvChad
{
"NvChad/nvim-colorizer.lua",
init = function()
require("core.utils").lazy_load "nvim-colorizer.lua"
end,
config = function(_, opts)
require("colorizer").setup(opts)
-- execute colorizer as soon as possible
vim.defer_fn(function()
require("colorizer").attach_to_buffer(0)
end, 0)
end,
},
idk how to configure it. Ive seen people try to add this
local custom_options = {
mode = "background", -- You can change the mode to "foreground" to colorize foreground color codes
RGB = true, -- Enable RGB color notation support
RRGGBB = true, -- Enable RRGGBB color notation support
names = false, -- Disable color name highlighting (e.g., "red", "blue", etc.)
css = false, -- Disable CSS color notation support
}
but idk lua and couldn't find any way to add those settings to it it.