feat: added LazyHealth that loads all plugins and runs :checkhealth

This commit is contained in:
Folke Lemaitre 2024-01-22 08:03:13 +01:00 committed by Andreas Gerlach
parent 73e0387952
commit 3614d361b2

View file

@ -185,6 +185,11 @@ function M.setup(opts)
vim.api.nvim_create_user_command("LazyExtras", function()
Util.extras.show()
end, { desc = "Manage LazyVim extras" })
vim.api.nvim_create_user_command("LazyHealth", function()
vim.cmd([[Lazy! load all]])
vim.cmd([[checkhealth]])
end, { desc = "Load all plugins and run :checkhealth" })
end,
})