feat(colorizer): add nvim-colorizer

This commit is contained in:
2024-04-14 22:27:15 +02:00
parent 389f7fb453
commit 6fbdcdccde
3 changed files with 20 additions and 0 deletions
+1
View File
@@ -20,6 +20,7 @@
"moonfly": { "branch": "master", "commit": "b2e34a79c60c181238d0fe7759c16a192540fe05" }, "moonfly": { "branch": "master", "commit": "b2e34a79c60c181238d0fe7759c16a192540fe05" },
"move.nvim": { "branch": "main", "commit": "cccbd4ea9049ca5f99f025ffaddb7392359c7d6a" }, "move.nvim": { "branch": "main", "commit": "cccbd4ea9049ca5f99f025ffaddb7392359c7d6a" },
"nvim-cmp": { "branch": "main", "commit": "ce16de5665c766f39c271705b17fff06f7bcb84f" }, "nvim-cmp": { "branch": "main", "commit": "ce16de5665c766f39c271705b17fff06f7bcb84f" },
"nvim-colorizer.lua": { "branch": "master", "commit": "85855b38011114929f4058efc97af1059ab3e41d" },
"nvim-dap": { "branch": "master", "commit": "405df1dcc2e395ab5173a9c3d00e03942c023074" }, "nvim-dap": { "branch": "master", "commit": "405df1dcc2e395ab5173a9c3d00e03942c023074" },
"nvim-dap-ui": { "branch": "master", "commit": "edfa93f60b189e5952c016eee262d0685d838450" }, "nvim-dap-ui": { "branch": "master", "commit": "edfa93f60b189e5952c016eee262d0685d838450" },
"nvim-lspconfig": { "branch": "master", "commit": "b3014f2209503944f2714cf27c95591433a0c7d8" }, "nvim-lspconfig": { "branch": "master", "commit": "b3014f2209503944f2714cf27c95591433a0c7d8" },
+5
View File
@@ -1,5 +1,6 @@
vim.loader.enable() vim.loader.enable()
---@type LazyPluginSpec[]
local plugins = { local plugins = {
{ {
"bluz71/vim-moonfly-colors", "bluz71/vim-moonfly-colors",
@@ -204,6 +205,10 @@ local plugins = {
"is0n/fm-nvim", "is0n/fm-nvim",
config = require("plugins.fm-nvim"), config = require("plugins.fm-nvim"),
}, },
{
"NvChad/nvim-colorizer.lua",
config = require("plugins.nvim-colorizer"),
},
} }
local opts = { local opts = {
+14
View File
@@ -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