mirror of
https://github.com/marianozunino/nvim.git
synced 2025-06-28 18:43:50 -03:00
batman!
This commit is contained in:
commit
ae7d9bf4b6
63 changed files with 2160 additions and 0 deletions
31
lua/config/plugins/colorizer.lua
Normal file
31
lua/config/plugins/colorizer.lua
Normal file
|
@ -0,0 +1,31 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue