switched to NvChad colorizer

This commit is contained in:
2026-01-13 12:51:37 -07:00
parent c70e1ae1d5
commit aa84c4997e
2 changed files with 21 additions and 17 deletions

View File

@@ -24,7 +24,7 @@
"mini.pairs": { "branch": "main", "commit": "d5a29b6254dad07757832db505ea5aeab9aad43a" }, "mini.pairs": { "branch": "main", "commit": "d5a29b6254dad07757832db505ea5aeab9aad43a" },
"noice.nvim": { "branch": "main", "commit": "7bfd942445fb63089b59f97ca487d605e715f155" }, "noice.nvim": { "branch": "main", "commit": "7bfd942445fb63089b59f97ca487d605e715f155" },
"nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" }, "nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" },
"nvim-colorizer.lua": { "branch": "master", "commit": "a065833f35a3a7cc3ef137ac88b5381da2ba302e" }, "nvim-colorizer.lua": { "branch": "master", "commit": "81e676d3203c9eb6e4c0ccf1eba1679296ef923f" },
"nvim-dap": { "branch": "master", "commit": "cdfd55a133f63228c55f91378f12908cb2a78ded" }, "nvim-dap": { "branch": "master", "commit": "cdfd55a133f63228c55f91378f12908cb2a78ded" },
"nvim-dap-go": { "branch": "main", "commit": "b4421153ead5d726603b02743ea40cf26a51ed5f" }, "nvim-dap-go": { "branch": "main", "commit": "b4421153ead5d726603b02743ea40cf26a51ed5f" },
"nvim-dap-ui": { "branch": "master", "commit": "cf91d5e2d07c72903d052f5207511bf7ecdb7122" }, "nvim-dap-ui": { "branch": "master", "commit": "cf91d5e2d07c72903d052f5207511bf7ecdb7122" },

View File

@@ -64,10 +64,10 @@ return {
-- Color preview for CSS, HTML, etc. -- Color preview for CSS, HTML, etc.
{ {
"norcalli/nvim-colorizer.lua", "NvChad/nvim-colorizer.lua",
event = { "BufReadPre", "BufNewFile" }, event = { "BufReadPre", "BufNewFile" },
config = function() opts = {
require("colorizer").setup({ filetypes = {
"css", "css",
"scss", "scss",
"sass", "sass",
@@ -83,19 +83,23 @@ return {
"yaml", "yaml",
"toml", "toml",
"conf", "conf",
}, { },
-- Default options for all filetypes user_default_options = {
RGB = true, -- #RGB hex codes RGB = true,
RRGGBB = true, -- #RRGGBB hex codes RRGGBB = true,
RRGGBBAA = true, -- #RRGGBBAA hex codes RRGGBBAA = true,
names = true, -- "Name" codes like Blue or red names = true,
rgb_fn = true, -- CSS rgb() and rgba() rgb_fn = true,
hsl_fn = true, -- CSS hsl() and hsla() hsl_fn = true,
css = true, -- Enable all CSS features css = true,
css_fn = true, -- Enable all CSS *functions* css_fn = true,
mode = "background", -- Set the display mode: foreground, background, virtualtext mode = "background",
}) tailwind = false,
end, sass = { enable = true, parsers = { "css" } },
virtualtext = "",
always_update = true, -- Update color values even if buffer is not focused
},
},
}, },
-- Better terminal integration -- Better terminal integration