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

This commit is contained in:
Dmytro Meleshko authored and GitHub committed 2025-06-23 09:23:27 -07:00
1 parent fb5a51e775
commit 6942dec9b2
1 file changed
+3 -3
+3 -3
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"