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:
Marco Hinz 2016-11-08 19:01:15 +01:00 committed by Justin M. Keyes
parent 3089c86f4e
commit bd33f1165b

View File

@ -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.