mirror of
https://github.com/harivansh-afk/nix.git
synced 2026-04-20 07:04:38 +00:00
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
14 lines
316 B
Text
14 lines
316 B
Text
/undodir
|
|
/tmp
|
|
.DS_Store
|
|
.nvimlog
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
rpi/
|
|
|
|
# Plugin-manager lockfiles are runtime state, not config. Tracking them breaks
|
|
# read-only deployments (e.g. home-manager xdg.configFile, which symlinks into
|
|
# the nix store) because tools try to rewrite the lockfile in place.
|
|
lazy-lock.json
|
|
nvim-pack-lock.json
|