feat(colorizer): add nvim-colorizer
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
"moonfly": { "branch": "master", "commit": "b2e34a79c60c181238d0fe7759c16a192540fe05" },
|
||||
"move.nvim": { "branch": "main", "commit": "cccbd4ea9049ca5f99f025ffaddb7392359c7d6a" },
|
||||
"nvim-cmp": { "branch": "main", "commit": "ce16de5665c766f39c271705b17fff06f7bcb84f" },
|
||||
"nvim-colorizer.lua": { "branch": "master", "commit": "85855b38011114929f4058efc97af1059ab3e41d" },
|
||||
"nvim-dap": { "branch": "master", "commit": "405df1dcc2e395ab5173a9c3d00e03942c023074" },
|
||||
"nvim-dap-ui": { "branch": "master", "commit": "edfa93f60b189e5952c016eee262d0685d838450" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "b3014f2209503944f2714cf27c95591433a0c7d8" },
|
||||
|
||||
@@ -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