Revert changes to bootstrapping, make checkhealth produce more meaningful message.

This commit is contained in:
Ulibos 2023-04-27 19:07:26 +03:00
commit d3ce9aceb3
3 changed files with 15 additions and 9 deletions

View file

@ -54,7 +54,7 @@ function M.check()
local spec = Config.spec
if spec == nil then
ok("no packages setup for installation so far.")
error("No plugins loaded. Did you forget to run `require(\"lazy\").setup()`?")
else
for _, plugin in pairs(spec.plugins) do
M.check_valid(plugin)