diff --git a/runtime/syntax/checkhealth.vim b/runtime/syntax/checkhealth.vim index 14c80640ba..c0d108fcae 100644 --- a/runtime/syntax/checkhealth.vim +++ b/runtime/syntax/checkhealth.vim @@ -14,8 +14,8 @@ syn keyword DiagnosticError ERROR[:] syn keyword DiagnosticWarn WARNING[:] syn keyword DiagnosticOk OK[:] " Note: hs=e starts higlighting on the title line (instead of the "===" line). -syn match helpSectionDelim /^======*\n.*$/hs=e -highlight helpSectionDelim gui=reverse cterm=reverse -syn match healthHeadingChar "=" conceal cchar= contained containedin=helpSectionDelim +syn match healthSectionDelim /^======*\n.*$/hs=e +highlight default healthSectionDelim gui=reverse cterm=reverse +syn match healthHeadingChar "=" conceal cchar= contained containedin=healthSectionDelim let b:current_syntax = "checkhealth"