mirror of https://github.com/folke/lazy.nvim.git
docs: fix commands table. Fixes #1393
This commit is contained in:
parent
e753eb6025
commit
f61ca6ec70
|
@ -517,7 +517,7 @@ Any operation can be started from the UI, with a sub command or an API function:
|
||||||
<!-- commands:start -->
|
<!-- commands:start -->
|
||||||
|
|
||||||
| Command | Lua | Description |
|
| Command | Lua | Description |
|
||||||
| --- | --- | --- | --- |
|
| --- | --- | --- |
|
||||||
| `:Lazy build {plugins}` | `require("lazy").build(opts)` | Rebuild a plugin |
|
| `: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 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 |
|
| `:Lazy clean [plugins]` | `require("lazy").clean(opts?)` | Clean plugins that are no longer needed |
|
||||||
|
|
|
@ -71,7 +71,7 @@ function M.commands()
|
||||||
modes.load.opts = true
|
modes.load.opts = true
|
||||||
local lines = {
|
local lines = {
|
||||||
{ "Command", "Lua", "Description" },
|
{ "Command", "Lua", "Description" },
|
||||||
{ "---", "---", "---", "---" },
|
{ "---", "---", "---" },
|
||||||
}
|
}
|
||||||
Util.foreach(modes, function(name, mode)
|
Util.foreach(modes, function(name, mode)
|
||||||
if commands[name] then
|
if commands[name] then
|
||||||
|
|
Loading…
Reference in New Issue