fix(nvim): Add LspReference* groups (#241)

Adds LspReference groups so that the reference highlighting feature
works for neovim built-in LSP.

Co-authored-by: Mathew Robinson <mathew@chasinglogic.io>
This commit is contained in:
Mathew Robinson 2021-04-08 13:52:04 +01:00 committed by GitHub
parent ab37ffc5ae
commit d82b9198d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -250,6 +250,9 @@ 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 LspReferenceText DraculaSelection
hi! link LspReferenceRead DraculaSelection
hi! link LspReferenceWrite DraculaSelection
hi! link LspDiagnosticsDefaultInformation DraculaCyan hi! link LspDiagnosticsDefaultInformation DraculaCyan
hi! link LspDiagnosticsDefaultHint DraculaCyan hi! link LspDiagnosticsDefaultHint DraculaCyan
hi! link LspDiagnosticsDefaultError DraculaError hi! link LspDiagnosticsDefaultError DraculaError