Files
dotfiles-public/.tests/mutations/36-nvim-first-boot-over-managed-lock.mut
T
bcherb2 e0c78a3ffa feat: installer boots nvim once and restores the lazy-lock pins
A first nvim start cloned the later-round plugins (claudecode, mini.*,
nvim-lint, friendly-snippets, ...) at branch tip and rewrote the seeded
lazy-lock.json with the tips. The install pipeline now ends with a headless
first boot, puts the seeded lockfile back, and runs `Lazy! restore`. It runs
only where lazy has never installed a plugin, so a lockfile the user has
moved on is never touched, and a second run does nothing.
2026-11-18 02:29:35 -05:00

9 lines
255 B
Plaintext

# what: the nvim first-boot step runs even where lazy already manages plugins
# why: it would overwrite a lockfile the user moved on with :Lazy update
# kills: …and nvim is not started
# run: unit
<<<OLD
[ ! -e "$nb_lazy" ] || return 0
<<<NEW
<<<END