mirror of
https://github.com/harivansh-afk/nix.git
synced 2026-04-20 01:00:31 +00:00
nvim: stop tracking plugin-manager lockfiles
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
This commit is contained in:
parent
b31ad77afa
commit
cb25d55374
3 changed files with 6 additions and 121 deletions
6
config/nvim/.gitignore
vendored
6
config/nvim/.gitignore
vendored
|
|
@ -6,3 +6,9 @@
|
|||
*.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
|
||||
|
|
|
|||
|
|
@ -1,24 +0,0 @@
|
|||
{
|
||||
"cp.nvim": { "branch": "main", "commit": "031d5314365a1a7175f51a659102e05549583bbc" },
|
||||
"diffs.nvim": { "branch": "main", "commit": "925ba5cb8a48cb4198d5a507a1fc01b2db06e201" },
|
||||
"flash.nvim": { "branch": "main", "commit": "fcea7ff883235d9024dc41e638f164a450c14ca2" },
|
||||
"fzf-lua": { "branch": "main", "commit": "d9508cc1d05ffcdc91a32dfd38fc1013a56b20da" },
|
||||
"gitsigns.nvim": { "branch": "main", "commit": "7c4faa3540d0781a28588cafbd4dd187a28ac6e3" },
|
||||
"gruvbox.nvim": { "branch": "main", "commit": "334d5fd49fc8033f26408425366c66c6390c57bb" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" },
|
||||
"lualine.nvim": { "branch": "master", "commit": "47f91c416daef12db467145e16bed5bbfe00add8" },
|
||||
"nonicons.nvim": { "branch": "main", "commit": "ec719318373914e5f5f060c545b06cc3fa4a8e95" },
|
||||
"nvim-autopairs": { "branch": "master", "commit": "59bce2eef357189c3305e25bc6dd2d138c1683f5" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "0203a9608d63eda57679b01e69f33a7b4c34b0d1" },
|
||||
"nvim-surround": { "branch": "main", "commit": "61319d4bd1c5e336e197defa15bd104c51f0fb29" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
|
||||
"nvim-treesitter-textobjects": { "branch": "main", "commit": "4e91b5d0394329a229725b021a8ea217099826ef" },
|
||||
"nvim-ufo": { "branch": "main", "commit": "ab3eb124062422d276fae49e0dd63b3ad1062cfc" },
|
||||
"nvim-web-devicons": { "branch": "master", "commit": "d7462543c9e366c0d196c7f67a945eaaf5d99414" },
|
||||
"oil-git.nvim": { "branch": "main", "commit": "6c92acdbae04dce8a4a2302c3a5dd264bd337456" },
|
||||
"oil.nvim": { "branch": "main", "commit": "e2cd1e66cff50cfdaa777bc19d11c44503677de4" },
|
||||
"pending.nvim": { "branch": "main", "commit": "077e4121b4fec369ad9da00a00228a3daf4e9031" },
|
||||
"preview.nvim": { "branch": "main", "commit": "39406c559cf90255bc3046df0dbad48b7c1e8319" },
|
||||
"promise-async": { "branch": "main", "commit": "119e8961014c9bfaf1487bf3c2a393d254f337e2" },
|
||||
"vim-fugitive": { "branch": "master", "commit": "3b753cf8c6a4dcde6edee8827d464ba9b8c4a6f0" }
|
||||
}
|
||||
|
|
@ -1,97 +0,0 @@
|
|||
{
|
||||
"plugins": {
|
||||
"blink.cmp": {
|
||||
"rev": "451168851e8e2466bc97ee3e026c3dcb9141ce07",
|
||||
"src": "https://github.com/saghen/blink.cmp"
|
||||
},
|
||||
"canola-collection": {
|
||||
"rev": "888ee61c54873e0c57df07d35e38284e23bb978c",
|
||||
"src": "https://github.com/barrettruth/canola-collection"
|
||||
},
|
||||
"canola.nvim": {
|
||||
"rev": "4a0dd41ca39793342177b2cdb8e784243da5a936",
|
||||
"src": "https://github.com/barrettruth/canola.nvim",
|
||||
"version": "'canola'"
|
||||
},
|
||||
"cozybox.nvim": {
|
||||
"rev": "be246810d74e3030cc5790685db3b9b8aacda5e3",
|
||||
"src": "https://github.com/harivansh-afk/cozybox.nvim"
|
||||
},
|
||||
"diffs.nvim": {
|
||||
"rev": "0cb16a0e2384f1d3dd6330f6ea517de8e07aa8e8",
|
||||
"src": "https://github.com/barrettruth/diffs.nvim"
|
||||
},
|
||||
"flash.nvim": {
|
||||
"rev": "fcea7ff883235d9024dc41e638f164a450c14ca2",
|
||||
"src": "https://github.com/folke/flash.nvim"
|
||||
},
|
||||
"forge.nvim": {
|
||||
"rev": "0dc433a32c1dac7bdfc313cf73070f03f27b2ef2",
|
||||
"src": "https://github.com/barrettruth/forge.nvim"
|
||||
},
|
||||
"fzf-lua": {
|
||||
"rev": "bde73a6886b607246095aa59f396de5e0d036890",
|
||||
"src": "https://github.com/ibhagwan/fzf-lua"
|
||||
},
|
||||
"gitsigns.nvim": {
|
||||
"rev": "50c205548d8b037b7ff6378fca6d21146f0b6161",
|
||||
"src": "https://github.com/lewis6991/gitsigns.nvim"
|
||||
},
|
||||
"lualine.nvim": {
|
||||
"rev": "47f91c416daef12db467145e16bed5bbfe00add8",
|
||||
"src": "https://github.com/nvim-lualine/lualine.nvim"
|
||||
},
|
||||
"lz.n": {
|
||||
"rev": "3a696418821fa8e4963a0a59dd1f8d40fedb6824",
|
||||
"src": "https://github.com/lumen-oss/lz.n"
|
||||
},
|
||||
"nonicons.nvim": {
|
||||
"rev": "2c5fad40a79d80338b49e6fbd3db9b2c1141a4ed",
|
||||
"src": "https://github.com/barrettruth/nonicons.nvim"
|
||||
},
|
||||
"nvim-autopairs": {
|
||||
"rev": "59bce2eef357189c3305e25bc6dd2d138c1683f5",
|
||||
"src": "https://github.com/windwp/nvim-autopairs"
|
||||
},
|
||||
"nvim-lspconfig": {
|
||||
"rev": "16812abf0e8d8175155f26143a8504e8253e92b0",
|
||||
"src": "https://github.com/neovim/nvim-lspconfig"
|
||||
},
|
||||
"nvim-surround": {
|
||||
"rev": "61319d4bd1c5e336e197defa15bd104c51f0fb29",
|
||||
"src": "https://github.com/kylechui/nvim-surround"
|
||||
},
|
||||
"nvim-treesitter": {
|
||||
"rev": "cf12346a3414fa1b06af75c79faebe7f76df080a",
|
||||
"src": "https://github.com/nvim-treesitter/nvim-treesitter"
|
||||
},
|
||||
"nvim-treesitter-textobjects": {
|
||||
"rev": "93d60a475f0b08a8eceb99255863977d3a25f310",
|
||||
"src": "https://github.com/nvim-treesitter/nvim-treesitter-textobjects"
|
||||
},
|
||||
"nvim-ufo": {
|
||||
"rev": "ab3eb124062422d276fae49e0dd63b3ad1062cfc",
|
||||
"src": "https://github.com/kevinhwang91/nvim-ufo"
|
||||
},
|
||||
"nvim-web-devicons": {
|
||||
"rev": "d7462543c9e366c0d196c7f67a945eaaf5d99414",
|
||||
"src": "https://github.com/nvim-tree/nvim-web-devicons"
|
||||
},
|
||||
"pending.nvim": {
|
||||
"rev": "e58cf6665b2d12cc63e1fd7a87169a9d2c20f7b5",
|
||||
"src": "https://github.com/barrettruth/pending.nvim"
|
||||
},
|
||||
"preview.nvim": {
|
||||
"rev": "ddf9b14c7f0fe00bb47833304625b648a97018a6",
|
||||
"src": "https://github.com/barrettruth/preview.nvim"
|
||||
},
|
||||
"promise-async": {
|
||||
"rev": "119e8961014c9bfaf1487bf3c2a393d254f337e2",
|
||||
"src": "https://github.com/kevinhwang91/promise-async"
|
||||
},
|
||||
"vim-fugitive": {
|
||||
"rev": "3b753cf8c6a4dcde6edee8827d464ba9b8c4a6f0",
|
||||
"src": "https://github.com/tpope/vim-fugitive"
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue