updated the colorizer
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
"mini.pairs": { "branch": "main", "commit": "d5a29b6254dad07757832db505ea5aeab9aad43a" },
|
||||
"noice.nvim": { "branch": "main", "commit": "7bfd942445fb63089b59f97ca487d605e715f155" },
|
||||
"nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" },
|
||||
"nvim-colorizer.lua": { "branch": "master", "commit": "a065833f35a3a7cc3ef137ac88b5381da2ba302e" },
|
||||
"nvim-dap": { "branch": "master", "commit": "cdfd55a133f63228c55f91378f12908cb2a78ded" },
|
||||
"nvim-dap-go": { "branch": "main", "commit": "b4421153ead5d726603b02743ea40cf26a51ed5f" },
|
||||
"nvim-dap-ui": { "branch": "master", "commit": "cf91d5e2d07c72903d052f5207511bf7ecdb7122" },
|
||||
@@ -32,7 +33,7 @@
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "92ee7d42320edfbb81f3cad851314ab197fa324a" },
|
||||
"nvim-nio": { "branch": "master", "commit": "21f5324bfac14e22ba26553caf69ec76ae8a7662" },
|
||||
"nvim-treesitter": { "branch": "main", "commit": "5a7e5638e7d220575b1c22c8a2e099b52231886e" },
|
||||
"nvim-treesitter-textobjects": { "branch": "main", "commit": "d0d12338230c1ce4ce27373f5b8d50a8c691794b" },
|
||||
"nvim-treesitter-textobjects": { "branch": "main", "commit": "baa6b4ec28c8be5e4a96f9b1b6ae9db85ec422f8" },
|
||||
"nvim-ts-autotag": { "branch": "main", "commit": "c4ca798ab95b316a768d51eaaaee48f64a4a46bc" },
|
||||
"nvim-web-devicons": { "branch": "master", "commit": "803353450c374192393f5387b6a0176d0972b848" },
|
||||
"persistence.nvim": { "branch": "main", "commit": "b20b2a7887bd39c1a356980b45e03250f3dce49c" },
|
||||
|
||||
@@ -66,24 +66,36 @@ return {
|
||||
{
|
||||
"norcalli/nvim-colorizer.lua",
|
||||
event = { "BufReadPre", "BufNewFile" },
|
||||
opts = {
|
||||
"css",
|
||||
"scss",
|
||||
"html",
|
||||
"javascript",
|
||||
"typescript",
|
||||
"javascriptreact",
|
||||
"typescriptreact",
|
||||
"vue",
|
||||
"svelte",
|
||||
"lua",
|
||||
"yaml",
|
||||
"toml",
|
||||
"conf",
|
||||
css = { rgb_fn = true, hsl_fn = true },
|
||||
scss = { rgb_fn = true, hsl_fn = true },
|
||||
html = { names = false },
|
||||
},
|
||||
config = function()
|
||||
require("colorizer").setup({
|
||||
"css",
|
||||
"scss",
|
||||
"sass",
|
||||
"less",
|
||||
"html",
|
||||
"javascript",
|
||||
"typescript",
|
||||
"javascriptreact",
|
||||
"typescriptreact",
|
||||
"vue",
|
||||
"svelte",
|
||||
"lua",
|
||||
"yaml",
|
||||
"toml",
|
||||
"conf",
|
||||
}, {
|
||||
-- Default options for all filetypes
|
||||
RGB = true, -- #RGB hex codes
|
||||
RRGGBB = true, -- #RRGGBB hex codes
|
||||
RRGGBBAA = true, -- #RRGGBBAA hex codes
|
||||
names = true, -- "Name" codes like Blue or red
|
||||
rgb_fn = true, -- CSS rgb() and rgba()
|
||||
hsl_fn = true, -- CSS hsl() and hsla()
|
||||
css = true, -- Enable all CSS features
|
||||
css_fn = true, -- Enable all CSS *functions*
|
||||
mode = "background", -- Set the display mode: foreground, background, virtualtext
|
||||
})
|
||||
end,
|
||||
},
|
||||
|
||||
-- Better terminal integration
|
||||
|
||||
Reference in New Issue
Block a user