autozimu / LanguageClient-neovim

Language Server Protocol (LSP) support for vim and neovim.
MIT License
3.55k stars 273 forks source link

Highlighting customization #1213

Closed EvanCarroll closed 3 years ago

EvanCarroll commented 3 years ago

For some reason the highlighting done here by LanguageClient-neovim is pretty,

badhl

this is something that I had mitigated with ALE using,

highlight ALEWarning ctermbg=LightRed 
highlight ALEError   ctermbg=DarkRed
EvanCarroll commented 3 years ago

I found the names here,

LanguageClientCodeLens xxx links to Title
LanguageClientWarningSign xxx links to Todo
LanguageClientWarning xxx links to SpellCap
LanguageClientInfoSign xxx links to LanguageClientWarningSign
LanguageClientInfo xxx links to LanguageClientWarning
LanguageClientErrorSign xxx links to Error
LanguageClientError xxx links to SpellBad

I was able to set them like this,

highlight LanguageClientWarning ctermbg=DarkMagenta
highlight LanguageClientError   ctermbg=DarkRed