diff options
author | Christian Clason <c.clason@uni-graz.at> | 2023-05-05 18:15:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-05 18:15:44 +0200 |
commit | c8ebb04e92c9646d83110f4b45f1d1dfd5316561 (patch) | |
tree | 4049297ab58eb8a1dc833d727d4727e5fd846ce4 /runtime/syntax | |
parent | c14aa66cce679e6ff4343401e448d47413660b0c (diff) | |
download | rneovim-c8ebb04e92c9646d83110f4b45f1d1dfd5316561.tar.gz rneovim-c8ebb04e92c9646d83110f4b45f1d1dfd5316561.tar.bz2 rneovim-c8ebb04e92c9646d83110f4b45f1d1dfd5316561.zip |
fix(health): replace healthFoo with DiagnosticFoo (#23475)
This replaces the custom `health{Error,Warning,Success}` highlight
groups with `Diagnostic{Error,Warning,Ok}`, which are defined by
default. Removes the link for `healthHelp`, which was no longer
actually used after #20879.
Diffstat (limited to 'runtime/syntax')
-rw-r--r-- | runtime/syntax/checkhealth.vim | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/runtime/syntax/checkhealth.vim b/runtime/syntax/checkhealth.vim index 4b0ce75a54..ea6555f005 100644 --- a/runtime/syntax/checkhealth.vim +++ b/runtime/syntax/checkhealth.vim @@ -11,15 +11,10 @@ unlet! b:current_syntax syn case match -syn keyword healthError ERROR[:] -syn keyword healthWarning WARNING[:] -syn keyword healthSuccess OK[:] +syn keyword DiagnosticError ERROR[:] +syn keyword DiagnosticWarning WARNING[:] +syn keyword DiagnosticOk OK[:] syn match helpSectionDelim "^======*\n.*$" syn match healthHeadingChar "=" conceal cchar=─ contained containedin=helpSectionDelim -hi def link healthError Error -hi def link healthWarning WarningMsg -hi def healthSuccess guibg=#5fff00 guifg=#080808 ctermbg=82 ctermfg=232 -hi def link healthHelp Identifier - let b:current_syntax = "checkhealth" |