aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Hinz <mh.codebro@gmail.com>2016-11-08 19:01:15 +0100
committerJustin M. Keyes <justinkz@gmail.com>2016-11-08 19:01:15 +0100
commitbd33f1165b95e9f8f0d20ae3a941ee55906107ee (patch)
tree5e24e06f32d3da8b3e43694554e21220135c91cd
parent3089c86f4ea23d073ddb83575fa50bfbee357a70 (diff)
downloadrneovim-bd33f1165b95e9f8f0d20ae3a941ee55906107ee.tar.gz
rneovim-bd33f1165b95e9f8f0d20ae3a941ee55906107ee.tar.bz2
rneovim-bd33f1165b95e9f8f0d20ae3a941ee55906107ee.zip
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
-rw-r--r--runtime/autoload/health.vim2
1 files changed, 1 insertions, 1 deletions
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.