1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-07-04 07:13:40 +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 -- color highlight in documents
{ {
'brenoprata10/nvim-highlight-colors', "catgoose/nvim-colorizer.lua",
event = "BufReadPre",
opts = { opts = {
render = 'virtual', options = {
virtual_symbol_position = 'eol', parsers = {
virtual_symbol_prefix = '', hex = { enable = true },
virtual_symbol_suffix = '', rgb = { enable = true },
hsl = { enable = true },
oklch = { enable = true },
xterm = { enable = true },
tailwind = {
lsp = true,
},
},
display = {
mode = "virtualtext",
},
} }
}, },
} }
}