Skip to content

Commit

Permalink
docs(commands): fix command ordering for sync (#1661)
Browse files Browse the repository at this point in the history
## Description

After a discussion on Slack we noticed that the description of the sync
command is a bit vague. Some people, including myself, assumed
`clean`/`install`/`update` referred to build steps being performed per
plugin.

Another person mentioned they thought it referred to the Lazy commands,
which does make more sense.
They also noticed that the order of the commands do not match the source
code.

So this PR corrects the order, assuming it was meant to be ordered, and
mentions that those are commands for clarity.
  • Loading branch information
GertBurger authored Jul 18, 2024
1 parent 8f62257 commit 124b864
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/lazy.nvim.txt
Original file line number Diff line number Diff line change
Expand Up @@ -988,8 +988,8 @@ function:
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
Expand Down

0 comments on commit 124b864

Please sign in to comment.