-
Notifications
You must be signed in to change notification settings - Fork 382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature: restore
plugins by default
#1817
Comments
#1804 |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
it has 3 likes and i think we need this |
#1279 ? |
That's already how it works. Install missing always uses the lock file. If you however do |
Did you check the docs?
Is your feature request related to a problem? Please describe.
As nearly all of us, I store my dotfiles in a git repo.
lock-file.json
is stored under version control too.However, if I clone my setup to a new machine, open up neovim, Lazy begins to install the latest version of each plugin automatically and overwrites the lockfile.
To get the locked versions after that I need:
git restore path/to/lockfile
nvim
->:Lazy restore
which is quite inconvenient
Describe the solution you'd like
If lockfile exists then restore all the plugins, otherwise install the newest version.
If a plugin is listed in the spec but is not in the lockfile, then install the latest version and update the lockfile
Describe alternatives you've considered
git restore path/to/lockfile
nvim
->:Lazy restore
Additional context
No response
The text was updated successfully, but these errors were encountered: