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
nix/lib/lock-app.nix:3 carries the TODO for --update [name...]. The argument parser only understands --config and --out; anything else prints usage. Today the only way to move a plugin forward is to re-lock everything.
templates/default/README.md:25 already tells users "Update: nvimx-lock --update (planned for Phase 6)" — the template ships a promise the tool cannot keep.
What to do
Add --update with no arguments: re-resolve every plugin, ignoring previously resolved refs, subject to pin.
Add --update <name>...: re-resolve only the named plugins, preserving everything else.
Error clearly on an unknown plugin name.
Decide and document how --update interacts with pin = true (recommended: pinned plugins are skipped unless named explicitly, and say so in the output).
Print a summary of what changed: plugin, old ref, new ref.
Update templates/default/README.md to drop the "planned for Phase 6" caveat.
Files
nix/lib/lock-app.nix
lua/nvimx/resolve.lua
templates/default/README.md
README.md
Done when
nvimx-lock --update tokyonight.nvim moves only that plugin and leaves the rest of the lock byte-identical.
Activity