aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/checkhealth.vim
blob: ea6555f005cba0ad74c76626e6262921daa421c1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
" 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 DiagnosticWarning WARNING[:]
syn keyword DiagnosticOk OK[:]
syn match helpSectionDelim "^======*\n.*$"
syn match healthHeadingChar "=" conceal cchar=─ contained containedin=helpSectionDelim

let b:current_syntax = "checkhealth"