| 12345678910111213141516171819202122232425262728293031 |
- 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
|