feat(nvim): add lsp message hightlighting (#170)

Neovim now supports LSP protocol, and this commit adds highlighting for
it.
This commit is contained in:
Thomas Vigouroux 2020-03-03 13:54:47 +01:00 committed by GitHub
parent 5a63362561
commit ed490ae071
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -250,6 +250,15 @@ call s:h('Conceal', s:cyan, s:none)
" Neovim uses SpecialKey for escape characters only. Vim uses it for that, plus whitespace. " Neovim uses SpecialKey for escape characters only. Vim uses it for that, plus whitespace.
if has('nvim') if has('nvim')
hi! link SpecialKey DraculaRed hi! link SpecialKey DraculaRed
hi! link LspDiagnosticsUnderline DraculaFgUnderline
hi! link LspDiagnosticsInformation DraculaCyan
hi! link LspDiagnosticsHint DraculaCyan
hi! link LspDiagnosticsError DraculaError
hi! link LspDiagnosticsWarning DraculaOrange
hi! link LspDiagnosticsUnderlineError DraculaErrorLine
hi! link LspDiagnosticsUnderlineHint DraculaInfoLine
hi! link LspDiagnosticsUnderlineInformation DraculaInfoLine
hi! link LspDiagnosticsUnderlineWarning DraculaWarnLine
else else
hi! link SpecialKey DraculaSubtle hi! link SpecialKey DraculaSubtle
endif endif
@ -305,4 +314,4 @@ hi! link helpBacktick Special
"}}} "}}}
" vim: fdm=marker ts=2 sts=2 sw=2 fdl=0: " vim: fdm=marker ts=2 sts=2 sw=2 fdl=0 et: