Closed quantum-booty closed 3 years ago
For the language server integration, highlighting is done using the LspReferenceText
, LspReferenceRead
, and LspReferenceWrite
highlight groups which can be defined as follows:
hi LspReferenceText gui=underline
hi LspReferenceWrite gui=underline
hi LspReferenceText gui=underline
Note: You can change these to whatever, they don't have to be underlines, I link it to CursorLine
.
These highlight groups have no defaults as they as used by the LSP. Try defining them and let me know if it still doesn't work.
Thank you, this worked for me:
autocmd VimEnter * hi LspReferenceText cterm=inverse gui=inverse
autocmd VimEnter * hi LspReferenceRead cterm=inverse gui=inverse
autocmd VimEnter * hi LspReferenceWrite cterm=inverse gui=inverse
nvim version: NVIM v0.5.0-dev+1019-ge0a4399ad nvim completion-nvim, lspconfig version: latest
Checkhealth result: