CheckHealth: Accept [plugin1 [, plugin2 [, ...]]] args.

To healthcheck the "foo" plugin:
    :CheckHealth foo
To healthcheck the "foo" and "bar" plugins:
    :CheckHealth foo bar
To run all auto-discovered healthchecks:
    :CheckHealth
This commit is contained in:
Justin M. Keyes
2016-08-20 19:37:18 -04:00
parent 545e7a4163
commit ed49d9d866
7 changed files with 136 additions and 84 deletions

View File

@@ -1 +1 @@
command! -bang CheckHealth call health#check(<bang>0)
command! -nargs=* CheckHealth call health#check([<f-args>])