Closed lcrockett closed 3 years ago
Duplicate of https://github.com/RRethy/vim-illuminate/issues/46
Apologies for the duplicate, I did not realize vim-hexokinase
existed. It's much more to my liking then nvim-colorizer
and it solves my problem by using foregroundfull
. Cheers !
No worries, I think nvim-colorizer has a foreground
mode you might also want to try. Both nvim-colorizer and vim-hexokinase are about equivalent.
Yep, it has a foreground
option indeed, but in hindsight it doesn't seem to contrast well with backgrounds of similar colour. For now i'm going to use both plugins in tandem. nvim-colorizer
to keep highlighting the background and vim-hexokinase
with the virtual text highlighting (neat feature). This way i'll be able to basically toggle individually between 2 different 'colouring modes' on the fly.
Describe the bug When using this plugin in conjunction with
norcalli/nvim-colorizer.lua
and having enablingnvim-colorizer
, RGB codes that are under the cursor will lose theirnvim-colorizer
highlighting.To Reproduce
nvim-colorizer
vim-illuminate
nvim-colorizer
#ff0000
) that occurs multiple times in the fileExpected behavior It would be great if RGB codes can be excluded somehow. For instance via a plugin option or using regex pattern matching. I did play around with
g:Illuminate_highlightPriority
but was not able to modify this behaviour.Screenshots The cursor is on
#00aa00
at the bottom, making illuminate highlighting the same occurrence at the top.Additional context N/A