ver
Summary
Section titled “Summary”ver'' selects a specific version (tag, branch, or latest) when downloading binary
releases from GitHub Releases (from"gh-r") or when checking out a plugin at a
specific branch or tag.
Syntax / Usage
Section titled “Syntax / Usage”zi ice from"gh-r" ver"latest" # explicit latest (same as omitting ver)zi ice from"gh-r" ver"v1.2.3" # specific release tagzi ice ver"main" # checkout a branchzi ice ver"abranch" # any branch or tag nameDetails
Section titled “Details”When used with from"gh-r", ver'' picks the GitHub Release to download. The default
(when ver is omitted) is latest.
When used with regular plugins (git clone), ver'' specifies the branch or tag to
check out. This is equivalent to the at tag in Zplug.
Does not work with snippets.
Examples
Section titled “Examples”# Pin fzf to a specific releasezi ice from"gh-r" as"program" ver"0.42.0"zi light junegunn/fzf
# Load a plugin from a non-default branchzi ice ver"develop"zi load some/pluginSee Also
Section titled “See Also”- from
- depth