aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-09-05 19:42:28 -0400
committerJustin M. Keyes <justinkz@gmail.com>2016-09-05 19:42:28 -0400
commitdf99c6493d1bef3c6abc0a851ff678025fd53775 (patch)
tree6e7e83d0b40c8add508ec48b1f45bf3534666a7a
parent522b885a0db76e43f5b8483077d71afa0489188d (diff)
downloadrneovim-df99c6493d1bef3c6abc0a851ff678025fd53775.tar.gz
rneovim-df99c6493d1bef3c6abc0a851ff678025fd53775.tar.bz2
rneovim-df99c6493d1bef3c6abc0a851ff678025fd53775.zip
health.vim: "No healthchecks found" also needs the buffer.
-rw-r--r--runtime/autoload/health.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/autoload/health.vim b/runtime/autoload/health.vim
index 4ef09c2f2f..783c30cbf6 100644
--- a/runtime/autoload/health.vim
+++ b/runtime/autoload/health.vim
@@ -22,13 +22,13 @@ function! health#check(plugin_names) abort
\ ? s:discover_health_checks()
\ : s:to_fn_names(a:plugin_names)
+ tabnew
+ setlocal filetype=markdown bufhidden=wipe
+ call s:enhance_syntax()
+
if empty(healthchecks)
call setline(1, 'ERROR: No healthchecks found.')
else
- tabnew
- setlocal filetype=markdown bufhidden=wipe
- call s:enhance_syntax()
-
redraw|echo 'Running healthchecks...'
for c in healthchecks
let output = ''