mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
health.vim: define highlights as default (#7560)
This commit is contained in:
committed by
Justin M. Keyes
parent
c5f001a46a
commit
f8d40e7d53
@@ -3,20 +3,20 @@ function! s:enhance_syntax() abort
|
|||||||
|
|
||||||
syntax keyword healthError ERROR[:]
|
syntax keyword healthError ERROR[:]
|
||||||
\ containedin=markdownCodeBlock,mkdListItemLine
|
\ containedin=markdownCodeBlock,mkdListItemLine
|
||||||
highlight link healthError Error
|
highlight default link healthError Error
|
||||||
|
|
||||||
syntax keyword healthWarning WARNING[:]
|
syntax keyword healthWarning WARNING[:]
|
||||||
\ containedin=markdownCodeBlock,mkdListItemLine
|
\ containedin=markdownCodeBlock,mkdListItemLine
|
||||||
highlight link healthWarning WarningMsg
|
highlight default link healthWarning WarningMsg
|
||||||
|
|
||||||
syntax keyword healthSuccess OK[:]
|
syntax keyword healthSuccess OK[:]
|
||||||
\ containedin=markdownCodeBlock,mkdListItemLine
|
\ containedin=markdownCodeBlock,mkdListItemLine
|
||||||
highlight healthSuccess guibg=#5fff00 guifg=#080808 ctermbg=82 ctermfg=232
|
highlight default healthSuccess guibg=#5fff00 guifg=#080808 ctermbg=82 ctermfg=232
|
||||||
|
|
||||||
syntax match healthHelp "|.\{-}|" contains=healthBar
|
syntax match healthHelp "|.\{-}|" contains=healthBar
|
||||||
\ containedin=markdownCodeBlock,mkdListItemLine
|
\ containedin=markdownCodeBlock,mkdListItemLine
|
||||||
syntax match healthBar "|" contained conceal
|
syntax match healthBar "|" contained conceal
|
||||||
highlight link healthHelp Identifier
|
highlight default link healthHelp Identifier
|
||||||
|
|
||||||
" We do not care about markdown syntax errors in :checkhealth output.
|
" We do not care about markdown syntax errors in :checkhealth output.
|
||||||
highlight! link markdownError Normal
|
highlight! link markdownError Normal
|
||||||
|
|||||||
Reference in New Issue
Block a user