Skip to content

Commit

Permalink
Link Neovim 0.6 diagnostic groups to 0.5 groups
Browse files Browse the repository at this point in the history
In NVIM 0.6, the LSP diagnostics groups have been renamed.
  • Loading branch information
dietrichm committed Oct 9, 2021
1 parent fbe3967 commit d764624
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions colors/PaperColor.vim
Original file line number Diff line number Diff line change
@@ -1254,6 +1254,16 @@ fun! s:apply_syntax_highlightings()
exec 'hi LspDiagnosticsUnderlineWarning cterm=undercurl gui=undercurl' . s:sp_todo_fg
exec 'hi LspDiagnosticsUnderlineInformation cterm=undercurl gui=undercurl' . s:sp_todo_fg
exec 'hi LspDiagnosticsUnderlineHint cterm=undercurl gui=undercurl' . s:sp_todo_fg

hi! link DiagnosticError LspDiagnosticsDefaultError
hi! link DiagnosticWarn LspDiagnosticsDefaultWarning
hi! link DiagnosticInfo LspDiagnosticsDefaultInformation
hi! link DiagnosticHint LspDiagnosticsDefaultHint

hi! link DiagnosticUnderlineError LspDiagnosticsUnderlineError
hi! link DiagnosticUnderlineWarn LspDiagnosticsUnderlineWarning
hi! link DiagnosticUnderlineInfo LspDiagnosticsUnderlineInformation
hi! link DiagnosticUnderlineHint LspDiagnosticsUnderlineHint
endif

" Extension {{{

0 comments on commit d764624

Please sign in to comment.