blob: a4f6e016cbcf049af67dc14da06c787f3fc330d1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
" Vim syntax file
" Language: Nvim :checkhealth buffer
" Last Change: 2022 Nov 10
if exists("b:current_syntax")
finish
endif
runtime! syntax/help.vim
unlet! b:current_syntax
syn case match
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
let b:current_syntax = "checkhealth"
|