1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-07-11 05:27:46 +02:00
dotfiles/.config/nvim/lua/plugins/nvim-colorizer.lua

30 lines
570 B
Lua

return {
-- showing color of hex values, etc
{
'nvchad/nvim-colorizer.lua',
opts = {
filetypes = {
'*',
'!markdown'
},
user_default_options = {
RGB = true,
RRGGBB = true,
RRGGBBAA = true,
AARRGGBB = true,
rgb_fn = true,
hsl_fn = true,
css_fn = true,
mode = "virtualtext",
virtualtext = "",
},
-- all the sub-options of filetypes apply to buftypes
buftypes = {
"*",
"!prompt",
"!popup"
},
}
}
}