nvim/lua/plugins/colorizer.lua

31 lines
489 B
Lua

local M = {
"norcalli/nvim-colorizer.lua",
branch = "master",
}
M.config = function()
require("colorizer").setup({
filetypes = {
"typescript",
"typescriptreact",
"javascript",
"javascriptreact",
"css",
"html",
"astro",
"lua",
"go",
"golang",
"bash",
"sh",
},
user_default_options = {
names = false,
rgb_fn = true,
hsl_fn = true,
tailwind = "both",
},
})
end
return M