docs(commands): fix command ordering for sync (#1662)

## Description

Fixup of https://github.com/folke/lazy.nvim/pull/1661 which targets
correct branch.

Anything else astray?
This commit is contained in:
Gert Burger 2024-07-18 16:04:08 +01:00 committed by GitHub
parent 03af9ce3fc
commit bd76c25804
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ Any operation can be started from the UI, with a sub command or an API function:
| `:Lazy profile` | `require("lazy").profile()` | Show detailed profiling |
| `:Lazy reload {plugins}` | `require("lazy").reload(opts)` | Reload a plugin (experimental!!) |
| `:Lazy restore [plugins]` | `require("lazy").restore(opts?)` | Updates all plugins to the state in the lockfile. For a single plugin: restore it to the state in the lockfile or to a given commit under the cursor |
| `:Lazy sync [plugins]` | `require("lazy").sync(opts?)` | Run install, clean and update |
| `:Lazy sync [plugins]` | `require("lazy").sync(opts?)` | Run clean, install and update commands |
| `:Lazy update [plugins]` | `require("lazy").update(opts?)` | Update plugins. This will also update the lockfile |
<!-- commands:end -->