diff options
| author | Elvis Claros Castro <elvis@claros.ar> | 2024-08-23 09:40:05 -0300 |
|---|---|---|
| committer | Elvis Claros Castro <elvis@claros.ar> | 2024-08-23 09:40:05 -0300 |
| commit | 969aa6d3444f857c383b0e271febe087cd224349 (patch) | |
| tree | 626929d795c5e4c262afb00570a87f3df0212fc3 /lua/plugins/colorize.lua | |
| parent | 59ab00e081d92db8760d65f3146f4156a962d5e4 (diff) | |
| download | nvim-conf-969aa6d3444f857c383b0e271febe087cd224349.tar.gz nvim-conf-969aa6d3444f857c383b0e271febe087cd224349.zip | |
Feat: update
Diffstat (limited to 'lua/plugins/colorize.lua')
| -rw-r--r-- | lua/plugins/colorize.lua | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/lua/plugins/colorize.lua b/lua/plugins/colorize.lua index 89d4039..41a4006 100644 --- a/lua/plugins/colorize.lua +++ b/lua/plugins/colorize.lua @@ -1,5 +1,19 @@ return { - "norcalli/nvim-colorizer.lua", - event = "VeryLazy", - config = true, + 'norcalli/nvim-colorizer.lua', + config = function() + require('colorizer').setup({ + 'css', + 'lua', + }, { + RGB = true, -- Colorear valores RGB + RRGGBB = true, -- Deshabilitar otros formatos + names = false, -- Deshabilitar nombres de colores como "Red" + RRGGBBAA = true, -- Deshabilitar valores RGBA + rgb_fn = true, -- Deshabilitar funciones rgb() y rgba() + hsl_fn = true, -- Deshabilitar funciones hsl() y hsla() + css = false, -- Deshabilitar otros valores CSS + css_fn = false, -- Deshabilitar funciones CSS + }) + end } + |