From bd33f1165b95e9f8f0d20ae3a941ee55906107ee Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Tue, 8 Nov 2016 19:01:15 +0100 Subject: [PATCH] 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 --- runtime/autoload/health.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/autoload/health.vim b/runtime/autoload/health.vim index 346b6e386e..a84cb6a3cc 100644 --- a/runtime/autoload/health.vim +++ b/runtime/autoload/health.vim @@ -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.