mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 17:21:49 +00:00
CheckHealth: ignore non-existing markdownCodeBlock group (#5570)
People using [1] would experience an error, because their markdown syntax doesn't define the markdownCodeBlock group. [1]: https://github.com/plasticboy/vim-markdown Closes #5569
This commit is contained in:

committed by
Justin M. Keyes

parent
3089c86f4e
commit
bd33f1165b
@@ -22,7 +22,7 @@ function! s:enhance_syntax() abort
|
||||
highlight! link markdownError Normal
|
||||
|
||||
" We don't need code blocks.
|
||||
syntax clear markdownCodeBlock
|
||||
silent! syntax clear markdownCodeBlock
|
||||
endfunction
|
||||
|
||||
" Runs the specified healthchecks.
|
||||
|
Reference in New Issue
Block a user