docs: fix commands table. Fixes #1393

This commit is contained in:
Folke Lemaitre 2024-03-28 12:15:31 +01:00
parent e753eb6025
commit f61ca6ec70
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
2 changed files with 2 additions and 2 deletions

View File

@ -517,7 +517,7 @@ Any operation can be started from the UI, with a sub command or an API function:
<!-- commands:start -->
| Command | Lua | Description |
| --- | --- | --- | --- |
| --- | --- | --- |
| `:Lazy build {plugins}` | `require("lazy").build(opts)` | Rebuild a plugin |
| `:Lazy check [plugins]` | `require("lazy").check(opts?)` | Check for updates and show the log (git fetch) |
| `:Lazy clean [plugins]` | `require("lazy").clean(opts?)` | Clean plugins that are no longer needed |

View File

@ -71,7 +71,7 @@ function M.commands()
modes.load.opts = true
local lines = {
{ "Command", "Lua", "Description" },
{ "---", "---", "---", "---" },
{ "---", "---", "---" },
}
Util.foreach(modes, function(name, mode)
if commands[name] then