docs: added section about the lockfile

This commit is contained in:
Folke Lemaitre 2022-12-18 14:33:51 +01:00
parent 39f629eedf
commit d0651e4782
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
1 changed files with 11 additions and 0 deletions

View File

@ -350,6 +350,17 @@ Alternatively you can start any operation with a specific command, sub command o
<!-- commands:end -->
## 🔒 Lockfile `lazy-lock.json`
After every **update**, the local lockfile is updated with the installed revisions.
It is recommended to have this file under version control.
If you use your Neovim config on multiple machines, using the lockfile, you can
ensure that the same version of every plugin is installed.
On the other machine, you can do `Lazy restore`, to update all your plugins to
the version from the lockfile
## 📊 Profiler
The profiling view shows you why and how long it took to load your plugins.