mirror of
https://github.com/neovim/neovim.git
synced 2025-11-15 23:01:24 +00:00
This replaces the custom `health{Error,Warning,Success}` highlight
groups with `Diagnostic{Error,Warning,Ok}`, which are defined by
default. Removes the link for `healthHelp`, which was no longer
actually used after #20879.
21 lines
479 B
VimL
21 lines
479 B
VimL
" 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"
|