feat(commands): added health command to run :checkhealth lazy

This commit is contained in:
Folke Lemaitre 2022-12-30 11:29:17 +01:00
parent 716b6cc2b5
commit 86dff1b59a
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
3 changed files with 8 additions and 0 deletions

View file

@ -24,6 +24,9 @@ M.commands = {
Manage.clear()
View.show()
end,
health = function()
vim.cmd.checkhealth("lazy")
end,
home = function()
View.show("home")
end,

View file

@ -134,6 +134,10 @@ M.commands = {
plugins = true,
plugins_required = true,
},
health = {
desc = "Run `:checkhealth lazy`",
id = 14,
},
}
return M