Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: Lockfile support#1010

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
EdenEast wants to merge36 commits intowbthomason:master
base:master
Choose a base branch
Loading
fromEdenEast:feat/lockfile
Open
Changes from1 commit
Commits
Show all changes
36 commits
Select commitHold shift + click to select a range
a041c15
feat(lockfile): Add Lockfile public interface
EdenEastAug 6, 2022
a3591b0
feat(lockfile): Add lockfile generation
EdenEastAug 6, 2022
dc7eac0
feat(lockfile): Load lockfile data on init if enable
EdenEastAug 6, 2022
bfcdf86
feat(lockfile): Upgrade command implementation
EdenEastAug 6, 2022
c6ea53a
fix(lockfile): Load lockfile after update
EdenEastAug 6, 2022
39bfc28
docs(lockfile): Add lockfile info to readme
EdenEastAug 6, 2022
23b838c
docs(lockfile): Add lockfile docs to help docs
EdenEastAug 7, 2022
36f2990
fix(snapshot): Add lockfile config to snapshot test
EdenEastAug 7, 2022
f9820df
feat(lockfile): Add commit date to lockfile
EdenEastAug 9, 2022
ef4896d
fix(lockfile): Update with `fetch/pull` based on commit
EdenEastAug 12, 2022
6d345d3
fix(git): Depth variable fails if string
EdenEastAug 15, 2022
e2cdf84
feat(display): Add lockfile commit to status
EdenEastSep 3, 2022
ec3c330
fix(lockfile): Handle checkout if lockfile is enabled
EdenEastSep 3, 2022
d358a41
chore: Fix rebase errors
EdenEastSep 5, 2022
6d79ce7
chore: stylua format with updated stylua version
EdenEastSep 6, 2022
ad4361c
fix(lockfile): Use log with vim.notify
EdenEastSep 6, 2022
458f5b4
feat(cmd): Add optional argument parsing for cmds
EdenEastSep 6, 2022
7b1514c
fix(lockfile): Handle checkout failure resolved
EdenEastSep 7, 2022
e5c1c6c
fix(lockfile): Move `upgrade` command to opt arg
EdenEastSep 7, 2022
59f3d1e
feat(cmd): Add optional args to commands
EdenEastSep 7, 2022
affa5a6
fix(lockfile): Override lockfile with opt arg
EdenEastSep 7, 2022
3689ed0
fix(lockfile): Regen on update config option
EdenEastSep 7, 2022
f80bf18
docs(lockfile): Upgrade moved to optional args
EdenEastSep 7, 2022
d91fa6d
feat(cmd): Add path complete for optional args
EdenEastSep 7, 2022
6638714
feat(display): Add ahead behind for commit updates
EdenEastOct 25, 2022
2ee8993
fix: Remove upgrade old update command
EdenEastOct 25, 2022
18c841c
style: Stylua format pass
EdenEastOct 25, 2022
dabbecd
docs: Fix duplicate word in readme
EdenEastNov 21, 2022
de16c82
fix(status): Load lockfile with status command
EdenEastNov 21, 2022
f2629c3
docs: Apply suggestions from code review
EdenEastNov 21, 2022
fcc66ec
docs(help): List optional args to lua api functions
EdenEastNov 21, 2022
ecf5baa
chore(help): Format snapshot command to correct width
EdenEastNov 21, 2022
ee18270
docs(help): Clarify `commit` and lockfile precedence
EdenEastNov 21, 2022
9e160a0
fix(command): Check for string type in filter opts
EdenEastNov 21, 2022
15feddf
fix(lockfile): Emit `PackerComplete` after command
EdenEastNov 22, 2022
191d37b
feat(lockfile): Fire `PackerLockfileDone` autocmd
EdenEastNov 23, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
chore(help): Format snapshot command to correct width
  • Loading branch information
@EdenEast
EdenEast committedNov 28, 2022
commitecf5baa16334d47dc38afec4ac138b67bedab8fc
31 changes: 19 additions & 12 deletionsdoc/packer.txt
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -666,17 +666,22 @@ Some examples:
packer.update({ nolockfile = true }, "telescope.nvim", "plenary.nvim"})
<

snapshot(snapshot_name, ...) *packer.snapshot()*
`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.
Optionally plugins name can be specified so that only those plugins will be
snapshotted.
Snapshot files can be loaded manually via `dofile` which will return a table with the plugins name as keys the commit short hash as value.

delete(snapshot_name) *packer.delete()*
snapshot(snapshot_name, ...) *packer.snapshot()*
`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. Optionally plugins name can be specified so that only those plugins
will be snapshotted. Snapshot files can be loaded manually via `dofile` which
will return a table with the plugins name as keys the commit short hash as
value.

delete(snapshot_name) *packer.delete()*
`delete` deletes a snapshot given the name or the absolute path.

rollback(snapshot_name, ...) *packer.rollback()*
`rollback` reverts all plugins or only the specified as extra arguments to the commit specified in the snapshot file
rollback(snapshot_name, ...) *packer.rollback()*
`rollback` reverts all plugins or only the specified as extra arguments to the
commit specified in the snapshot file

use() *packer.use()*
`use` allows you to add one or more plugins to the managed set. It can be
Expand DownExpand Up@@ -718,8 +723,10 @@ invoked as follows:
}
- With a list of plugins specified in either of the above two forms

For the *cmd* option, the command may be a full command, or an autocommand pattern. If the command contains any
non-alphanumeric characters, it is assumed to be a pattern, and instead of creating a stub command, it creates
a CmdUndefined autocmd to load the plugin when a command that matches the pattern is invoked.
For the *cmd* option, the command may be a full command, or an autocommand
pattern. If the command contains any non-alphanumeric characters, it is
assumed to be a pattern, and instead of creating a stub command, it creates a
CmdUndefined autocmd to load the plugin when a command that matches the
pattern is invoked.

vim:tw=78:ts=2:ft=help:norl:

[8]ページ先頭

©2009-2025 Movatter.jp