mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
health.vim: "No healthchecks found" also needs the buffer.
This commit is contained in:
parent
522b885a0d
commit
df99c6493d
@ -22,13 +22,13 @@ function! health#check(plugin_names) abort
|
||||
\ ? s:discover_health_checks()
|
||||
\ : s:to_fn_names(a:plugin_names)
|
||||
|
||||
if empty(healthchecks)
|
||||
call setline(1, 'ERROR: No healthchecks found.')
|
||||
else
|
||||
tabnew
|
||||
setlocal filetype=markdown bufhidden=wipe
|
||||
call s:enhance_syntax()
|
||||
|
||||
if empty(healthchecks)
|
||||
call setline(1, 'ERROR: No healthchecks found.')
|
||||
else
|
||||
redraw|echo 'Running healthchecks...'
|
||||
for c in healthchecks
|
||||
let output = ''
|
||||
|
Loading…
Reference in New Issue
Block a user