You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
non_interactive = false, -- If true, disable display windows for all operations
@@ -481,6 +495,12 @@ They can be configured by changing the value of `config.display.keybindings`
481
495
(see |packer-configuration|). Setting it to `false` will disable all keybindings.
482
496
Setting any of its keys to `false` will disable the corresponding keybinding.
483
497
498
+
LOCKFILE *packer-lockfile*
499
+
`packer` provides a `lockfile` to help manage plugin updates. This is useful
500
+
for users that store their configuration in some sort of source repository.
501
+
Committing packer's lockfile will ensure that packer will `install` and
502
+
`update` plugins to known working commits for their configuration.
503
+
484
504
USER AUTOCMDS *packer-user-autocmds*
485
505
`packer` runs most of its operations asyncronously. If you would like to
486
506
implement automations that require knowing when the operations are complete,
@@ -519,6 +539,10 @@ It can be invoked with no arguments or with a list of plugin names to install.
519
539
These plugin names must already be managed by `packer` via a call to
520
540
|packer.use()|.
521
541
542
+
lockfile() *packer.lockfile()*
543
+
`lockfile` updates packer's lockfile (defined by `lockfile.path`) based on
544
+
currently installed plugins.
545
+
522
546
reset() *packer.reset()*
523
547
`reset` empties the set of managed plugins. Called with no arguments; used to
524
548
ensure plugin specifications are reinitialized if the specification file is
@@ -544,6 +568,10 @@ It can be invoked with no arguments or with a list of plugin names to update.
544
568
These plugin names must already be managed by `packer` via a call to
545
569
|packer.use()|.
546
570
571
+
upgrade() *packer.upgrade()*
572
+
`upgrade` performes an `update` without applying the `lockfile`. This will
573
+
update plugins to their latest versions.
574
+
547
575
snapshot(snapshot_name, ...) *packer.snapshot()*
548
576
`snapshot` takes the rev of all the installed plugins and serializes them into a Lua table which will be saved under `config.snapshot_path` (which is the directory that will hold all the snapshots files) as `config.snapshot_path/<snapshot_name>` or an absolute path provided by the users.
549
577
Optionally plugins name can be specified so that only those plugins will be
0 commit comments