1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-16 03:14:55 +02:00

nvim/lua/user/plugins/ui/editor.lua: switch from nvim-highlight-colors to nvim-colorizer

This commit is contained in:
Henrik Hautakoski 2026-04-04 14:32:34 +02:00
parent ed3be858a6
commit 3c48ad912b

View file

@ -51,12 +51,24 @@ return {
},
-- color highlight in documents
{
'brenoprata10/nvim-highlight-colors',
"catgoose/nvim-colorizer.lua",
event = "BufReadPre",
opts = {
render = 'virtual',
virtual_symbol_position = 'eol',
virtual_symbol_prefix = '',
virtual_symbol_suffix = '',
}
},
options = {
parsers = {
hex = { enable = true },
rgb = { enable = true },
hsl = { enable = true },
oklch = { enable = true },
xterm = { enable = true },
tailwind = {
lsp = true,
},
},
display = {
mode = "virtualtext",
},
}
},
}
}