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:
parent
ed3be858a6
commit
3c48ad912b
1 changed files with 19 additions and 7 deletions
|
|
@ -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",
|
||||||
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue