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
|
|
|
|
|
2022-11-11 19:33:31 -07:00
|
|
|
syn keyword healthError ERROR[:]
|
|
|
|
syn keyword healthWarning WARNING[:]
|
|
|
|
syn keyword healthSuccess OK[:]
|
|
|
|
syn match helpSectionDelim "^======*\n.*$"
|
|
|
|
syn match healthHeadingChar "=" conceal cchar=─ contained containedin=helpSectionDelim
|
2021-12-18 09:14:42 -07:00
|
|
|
|
|
|
|
hi def link healthError Error
|
|
|
|
hi def link healthWarning WarningMsg
|
|
|
|
hi def healthSuccess guibg=#5fff00 guifg=#080808 ctermbg=82 ctermfg=232
|
|
|
|
hi def link healthHelp Identifier
|
|
|
|
|
|
|
|
let b:current_syntax = "checkhealth"
|