mirror of
https://github.com/neovim/neovim
synced 2025-07-15 16:51:49 +00:00
fix(health): highlight group conflicts with help #34616
(cherry picked from commit 6942dec9b2
)
This commit is contained in:
committed by
github-actions[bot]
parent
70b4e7948f
commit
68d204462c
@ -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"
|
||||
|
Reference in New Issue
Block a user