mirror of
https://github.com/neovim/neovim.git
synced 2024-12-25 05:35:10 -07:00
c13242cf47
These links were actually defined backwards: the highlight groups actually being used for display are the new "Diagnostic*" groups, so linking the old "LspDiagnostics*" groups to these does absolutely nothing, since there is nothing actually being highlighted with the LspDiagnostics* groups. These links were made in an attempt to preserve backward compatibility with existing colorschemes. We could reverse the links to maintain this preservation, but then that disallows us from actually defining default values for the new highlight groups. Instead, just remove the links and be done with the old LspDiagnostics* highlight groups. This is not technically a breaking change: the breaking change already happened in #15585, but this PR just makes that explicit.
27 lines
1.2 KiB
VimL
27 lines
1.2 KiB
VimL
" :help vim.diagnostic
|
|
|
|
hi default DiagnosticError ctermfg=1 guifg=Red
|
|
hi default DiagnosticWarn ctermfg=3 guifg=Orange
|
|
hi default DiagnosticInfo ctermfg=4 guifg=LightBlue
|
|
hi default DiagnosticHint ctermfg=7 guifg=LightGrey
|
|
|
|
hi default DiagnosticUnderlineError cterm=underline gui=underline guisp=Red
|
|
hi default DiagnosticUnderlineWarn cterm=underline gui=underline guisp=Orange
|
|
hi default DiagnosticUnderlineInfo cterm=underline gui=underline guisp=LightBlue
|
|
hi default DiagnosticUnderlineHint cterm=underline gui=underline guisp=LightGrey
|
|
|
|
hi default link DiagnosticVirtualTextError DiagnosticError
|
|
hi default link DiagnosticVirtualTextWarn DiagnosticWarn
|
|
hi default link DiagnosticVirtualTextInfo DiagnosticInfo
|
|
hi default link DiagnosticVirtualTextHint DiagnosticHint
|
|
|
|
hi default link DiagnosticFloatingError DiagnosticError
|
|
hi default link DiagnosticFloatingWarn DiagnosticWarn
|
|
hi default link DiagnosticFloatingInfo DiagnosticInfo
|
|
hi default link DiagnosticFloatingHint DiagnosticHint
|
|
|
|
hi default link DiagnosticSignError DiagnosticError
|
|
hi default link DiagnosticSignWarn DiagnosticWarn
|
|
hi default link DiagnosticSignInfo DiagnosticInfo
|
|
hi default link DiagnosticSignHint DiagnosticHint
|