yegappan / lsp

Language Server Protocol (LSP) plugin for Vim9
MIT License
473 stars 57 forks source link

How to change highlighting? #516

Closed jclsn closed 4 months ago

jclsn commented 4 months ago

I really dislike the way lsp highlights errors and warnings. Can you provide a guide how to change this, if this is possible?

So I found :h lsp-hightlight-groups, but setting e.g. highlight LspDiagInlineError ctermfg=Blue guifg=Blue doesn't doesn't change the error highlight to blue.

I would for example get rid of the underscore for the error highlighting and not have a background for e.g. unused includes and just grey them out instead. How would I accomplish this?

jclsn commented 4 months ago

Okay, seems like I had to force the highlighting

highlight! LspDiagInlineError ctermfg=Blue guifg=Blue

works