fix(health): highlight group conflicts with help #34616

This commit is contained in:
Dmytro Meleshko
2025-06-23 18:23:27 +02:00
committed by GitHub
parent fb5a51e775
commit 6942dec9b2

View File

@ -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"