2021-12-18 09:14:42 -07:00
|
|
|
" Vim syntax file
|
2022-11-11 19:33:31 -07:00
|
|
|
" Language: Nvim :checkhealth buffer
|
|
|
|
" Last Change: 2022 Nov 10
|
2021-12-18 09:14:42 -07:00
|
|
|
|
|
|
|
if exists("b:current_syntax")
|
|
|
|
finish
|
|
|
|
endif
|
|
|
|
|
2022-11-11 19:33:31 -07:00
|
|
|
runtime! syntax/help.vim
|
2021-12-18 09:14:42 -07:00
|
|
|
unlet! b:current_syntax
|
|
|
|
|
|
|
|
syn case match
|
|
|
|
|
2023-05-05 09:15:44 -07:00
|
|
|
syn keyword DiagnosticError ERROR[:]
|
2023-05-08 08:02:53 -07:00
|
|
|
syn keyword DiagnosticWarn WARNING[:]
|
2023-05-05 09:15:44 -07:00
|
|
|
syn keyword DiagnosticOk OK[:]
|
2024-09-26 07:45:03 -07:00
|
|
|
" 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
|
2021-12-18 09:14:42 -07:00
|
|
|
|
|
|
|
let b:current_syntax = "checkhealth"
|