feat(colorizer): add nvim-colorizer
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
vim.loader.enable()
|
||||
|
||||
---@type LazyPluginSpec[]
|
||||
local plugins = {
|
||||
{
|
||||
"bluz71/vim-moonfly-colors",
|
||||
@@ -204,6 +205,10 @@ local plugins = {
|
||||
"is0n/fm-nvim",
|
||||
config = require("plugins.fm-nvim"),
|
||||
},
|
||||
{
|
||||
"NvChad/nvim-colorizer.lua",
|
||||
config = require("plugins.nvim-colorizer"),
|
||||
},
|
||||
}
|
||||
|
||||
local opts = {
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
local function setup()
|
||||
require("colorizer").setup({
|
||||
user_default_options = {
|
||||
RRGGBBAA = true,
|
||||
AARRGGBB = true,
|
||||
css = true,
|
||||
mode = "virtualtext",
|
||||
tailwind = true,
|
||||
sass = { enable = true, },
|
||||
},
|
||||
})
|
||||
end
|
||||
|
||||
return setup
|
||||
Reference in New Issue
Block a user