lazy-lock.json and nvim-pack-lock.json are runtime state written by lazy.nvim
and vim.pack. Tracking them in the config tree breaks read-only deployments
(e.g. home-manager xdg.configFile, which symlinks files into /nix/store). When
vim.pack tries to update its lockfile through a ro symlink, it fails with:
EACCES: permission denied: ~/.config/nvim/nvim-pack-lock.json
Moving both files to .gitignore lets the plugin managers create writable
copies at runtime in their expected locations.
Made-with: Cursor