Change the CodeLens annotation color in CoC
CoC is the fanciest Language Server Protocol client for (neo)vim. It even implements Code Lens annotations, like reference counts in Javascript:
Ok neat. But by default, virtual text in neovim is in the normal
highlight group. That means it looks just like code, and I'm already confused enough. After much source diving, I found that the highlight group used by CoC for this is CocCodeLens
, and used like so:
:hi CocCodeLens guifg=White
My code is much more readable.
Tweet