feat(commands): added build command to force rebuild of a plugin

This commit is contained in:
Folke Lemaitre 2023-01-01 09:41:43 +01:00
parent 205ce42cdc
commit 23c0587791
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
5 changed files with 31 additions and 4 deletions

View file

@ -489,6 +489,7 @@ Any operation can be started from the UI, with a sub command or an API function:
| 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 |
| `:Lazy clear` | `require("lazy").clear()` | Clear finished tasks |