chore(build): auto-generate vimdoc

This commit is contained in:
github-actions[bot] 2022-12-21 21:28:58 +00:00
parent 2e14a2f324
commit a39d37b51a
1 changed files with 31 additions and 14 deletions

View File

@ -405,20 +405,37 @@ enabled with `config.checker.enabled = true`.
Any operation can be started from the UI, with a sub command or an API Any operation can be started from the UI, with a sub command or an API
function: function:
│ Command │ Lua │ Description │ │ Command │ Lua │ Description │
│:Lazy home │require("lazy").home() │Go back to plugin list │ │:Lazy check [plugins] │require("lazy").check(opts?) │Check for updates and show the log (git fetch) │
│:Lazy install [plugins] │require("lazy").install(plugins?) │Install missing plugins │ │:Lazy clean [plugins] │require("lazy").clean(opts?) │Clean plugins that are no longer needed │
│:Lazy update [plugins] │require("lazy").update(plugins?) │Update all plugins. This will also update the lockfile │ │:Lazy clear │require("lazy").clear() │Clear finished tasks │
│:Lazy sync │require("lazy").sync() │Run install, clean and update │ │:Lazy debug │require("lazy").debug() │Show debug information │
│:Lazy clean [plugins] │require("lazy").clean(plugins?) │Clean plugins that are no longer needed │ │:Lazy help │require("lazy").help() │Toggle this help page │
│:Lazy check [plugins] │require("lazy").check(plugins?) │Check for updates and show the log (git fetch) │ │:Lazy home │require("lazy").home() │Go back to plugin list │
│:Lazy log [plugins] │require("lazy").log(plugins?) │Show recent updates for all plugins │ │:Lazy install [plugins] │require("lazy").install(opts?) │Install missing plugins │
│:Lazy restore [plugins] │require("lazy").restore(plugins?) │Updates all plugins to the state in the lockfile │ │:Lazy load {plugins} │require("lazy").load(opts) │Load a plugin that has not been loaded yet. Similar to :packadd. Like :Lazy load foo.nvim │
│:Lazy profile │require("lazy").profile() │Show detailed profiling │ │:Lazy log [plugins] │require("lazy").log(opts?) │Show recent updates for all plugins │
│:Lazy debug │require("lazy").debug() │Show debug information │ │:Lazy profile │require("lazy").profile() │Show detailed profiling │
│:Lazy help │require("lazy").help() │Toggle this help page │ │:Lazy restore [plugins] │require("lazy").restore(opts?) │Updates all plugins to the state in the lockfile │
│:Lazy clear │require("lazy").clear() │Clear finished tasks │ │:Lazy sync [plugins] │require("lazy").sync(opts?) │Run install, clean and update │
│:Lazy load {plugins} │require("lazy").load(plugins) │Load a plugin that has not been loaded yet. Similar to :packadd. Like :Lazy load foo.nvim │ │:Lazy update [plugins] │require("lazy").update(opts?) │Update all plugins. This will also update the lockfile │
Any command can have a **bang** to make the command wait till it finished. For
example, if you want to sync lazy from the cmdline, you can use:
>lua
$ nvim --headless "+Lazy! sync" +qa
<
`opts` is a table with the following key-values:
- **wait**: when true, then the call will wait till the operation completed
- **show**: when false, the UI will not be shown
- **plugins**: a list of plugin names to run the operation on
- **concurrency**: limit the `number` of concurrently running tasks
If you want to display the number of plugins on your dashboard, you can use If you want to display the number of plugins on your dashboard, you can use