Difference between sync and update?
#326
|
Found myself getting a bit confused about the difference between the two... Could someone please explain? |
Answered by
NTBBloodbath
May 11, 2024
Replies: 2 comments
|
Hey there! As said in the usage section of the README, That means, running |
0 replies
Answer selected by
mrcjkb
|
Ok, that makes things clearer for me. Thanks a lot! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey there!
As said in the usage section of the README,
updatewill attempt to update every available rock if it's not pinned to a certain version, whilesyncwill synchronize the current Neovim configuration with therocks.tomlcontents.That means, running
:Rocks syncwill attempt to install missing rocks, uninstall unneeded rocks and make sure every installed rock has the correct version as ourrocks.tomlfile also works as a "lockfile" on itself.