add links to old 'LspDiagnosticsDefault*' hl groups
for backward compatibility with neovim v0.5.x
This commit is contained in:
parent
cc5da58613
commit
a503a351da
1 changed files with 12 additions and 0 deletions
|
@ -270,6 +270,18 @@ if has('nvim')
|
|||
hi! link DiagnosticUnderlineHint DraculaInfoLine
|
||||
hi! link DiagnosticUnderlineInfo DraculaInfoLine
|
||||
hi! link DiagnosticUnderlineWarn DraculaWarnLine
|
||||
|
||||
" Link old 'LspDiagnosticsDefault*' hl groups
|
||||
" for backward compatibility with neovim v0.5.x
|
||||
hi! link LspDiagnosticsDefaultInformation DiagnosticInfo
|
||||
hi! link LspDiagnosticsDefaultHint DiagnosticHint
|
||||
hi! link LspDiagnosticsDefaultError DiagnosticError
|
||||
hi! link LspDiagnosticsDefaultWarning DiagnosticWarn
|
||||
hi! link LspDiagnosticsUnderlineError DiagnosticUnderlineError
|
||||
hi! link LspDiagnosticsUnderlineHint DiagnosticUnderlineHint
|
||||
hi! link LspDiagnosticsUnderlineInformation DiagnosticUnderlineInfo
|
||||
hi! link LspDiagnosticsUnderlineWarning DiagnosticUnderlineWarn
|
||||
|
||||
else
|
||||
hi! link SpecialKey DraculaPink
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue