Files
neovim/runtime/syntax/checkhealth.vim
Christian Clason c8ebb04e92 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.
2023-05-05 18:15:44 +02:00

21 lines
479 B
VimL

" Vim syntax file
" Language: Nvim :checkhealth buffer
" Last Change: 2022 Nov 10
if exists("b:current_syntax")
finish
endif
runtime! syntax/help.vim
unlet! b:current_syntax
syn case match
syn keyword DiagnosticError ERROR[:]
syn keyword DiagnosticWarning WARNING[:]
syn keyword DiagnosticOk OK[:]
syn match helpSectionDelim "^======*\n.*$"
syn match healthHeadingChar "=" conceal cchar=contained containedin=helpSectionDelim
let b:current_syntax = "checkhealth"