Skip to main content

vimpin-renovate-config

Renovate preset that opens update PRs for canonical-form plugin specs.

Usage

{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>gr1m0h/vimpin-renovate-config"]
}

The bare preset enables both sub-presets below. To enable only one, extend it directly (github>gr1m0h/vimpin-renovate-config:lua-pin).

Sub-presetTargetDatasource
:lua-pin*.lua plugin specs in canonical formgithub-tags (tag-tracked) / git-refs (branch-tracked)
:lazy-nvim-locklazy-lock.json entries with branch, commit, url fieldsgit-refs — recognises github.com, gitlab.com, git.sr.ht

How updates land

For each match, Renovate opens a PR that bumps the commit hash and (for tag-tracked entries) rewrites the annotation in the same regex match — so commit ↔ annotation drift is structurally impossible while Renovate is the sole updater.

Constraints

  • commit is the first field after the repo string. Custom fields (keys, event, opts, config = function()) must come after the commit. vimpin run enforces this layout automatically.
  • Specs without an annotation are invisible to Renovate. That's the supported way to say "never update this plugin".
  • lazy-lock.json needs a url field per entry. lazy.nvim does not emit url for default GitHub plugins, so the lockfile manager is most useful for non-default sources or for users who post-process the lockfile.