From df99c6493d1bef3c6abc0a851ff678025fd53775 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Mon, 5 Sep 2016 19:42:28 -0400 Subject: [PATCH] health.vim: "No healthchecks found" also needs the buffer. --- runtime/autoload/health.vim | 8 ++++---- 1 file 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 = ''