aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 = ''