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:discover_health_checks()
|
||||||
\ : s:to_fn_names(a:plugin_names)
|
\ : s:to_fn_names(a:plugin_names)
|
||||||
|
|
||||||
|
tabnew
|
||||||
|
setlocal filetype=markdown bufhidden=wipe
|
||||||
|
call s:enhance_syntax()
|
||||||
|
|
||||||
if empty(healthchecks)
|
if empty(healthchecks)
|
||||||
call setline(1, 'ERROR: No healthchecks found.')
|
call setline(1, 'ERROR: No healthchecks found.')
|
||||||
else
|
else
|
||||||
tabnew
|
|
||||||
setlocal filetype=markdown bufhidden=wipe
|
|
||||||
call s:enhance_syntax()
|
|
||||||
|
|
||||||
redraw|echo 'Running healthchecks...'
|
redraw|echo 'Running healthchecks...'
|
||||||
for c in healthchecks
|
for c in healthchecks
|
||||||
let output = ''
|
let output = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user