From 68d204462c7013508d21283d0f565492c8b94e6f Mon Sep 17 00:00:00 2001 From: Dmytro Meleshko Date: Mon, 23 Jun 2025 18:23:27 +0200 Subject: [PATCH] fix(health): highlight group conflicts with help #34616 (cherry picked from commit 6942dec9b29deb368cf9346fea714dd7880273b8) --- runtime/syntax/checkhealth.vim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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"