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