commit 6942dec9b29deb368cf9346fea714dd7880273b8 parent fb5a51e77570ce2b548d22d250d503102aeac2fe Author: Dmytro Meleshko <dmytro.meleshko@gmail.com> Date: Mon, 23 Jun 2025 18:23:27 +0200 fix(health): highlight group conflicts with help #34616 Diffstat:
| M | runtime/syntax/checkhealth.vim | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git 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"