Skip to content

Difference between sync and update? #326

Answered by NTBBloodbath
kflak asked this question in Q&A
Discussion options

You must be logged in to vote

Hey there!

As said in the usage section of the README, update will attempt to update every available rock if it's not pinned to a certain version, while sync will synchronize the current Neovim configuration with the rocks.toml contents.

That means, running :Rocks sync will attempt to install missing rocks, uninstall unneeded rocks and make sure every installed rock has the correct version as our rocks.toml file also works as a "lockfile" on itself.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by mrcjkb
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants