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

(cherry picked from commit 6942dec9b2)
This commit is contained in:
Dmytro Meleshko
2025-06-23 18:23:27 +02:00
committed by github-actions[bot]
parent 70b4e7948f
commit 68d204462c

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"