mirror of
https://github.com/neovim/neovim.git
synced 2026-04-26 09:14:15 +00:00
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.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user