nvim/nvim-pack-lock.json
xfy 2afb5315ce refactor(git): 替换 vim-fugitive 为 neogit 工具栈
移除 vim-fugitive 和 mini.diff,引入三层 Git 工具栈(对齐 nvchad 分支):
- gitsigns.nvim:buffer 级 inline gutter + hunk 操作(BufReadPost 懒加载)
- neogit:仓库级 status 客户端(<leader>gg,依赖 plenary)
- codediff.nvim:文件级 side-by-side diff(<leader>gd/gD)

键位变更:
- ghs/ghr/ghp/ghb/ghB/ghd/ghD + ]h/[h 改由 gitsigns 提供
- <leader>gg → Neogit、<leader>gd/gD → CodeDiff
- 移除 <leader>gl(GcLog,由 neogit 内部 log 视图取代)

三个独立插件统一采用 load_X() → packadd → require().setup() 加载风格
2026-06-16 09:33:14 +08:00

49 lines
1.6 KiB
JSON

{
"plugins": {
"codediff.nvim": {
"rev": "7608f3b436ce1f84a4888f75e53079caa981a2e9",
"src": "https://github.com/esmuellert/codediff.nvim"
},
"conform.nvim": {
"rev": "619363c30309d29ffa631e67c8183f2a72caa373",
"src": "https://github.com/stevearc/conform.nvim"
},
"friendly-snippets": {
"rev": "6cd7280adead7f586db6fccbd15d2cac7e2188b9",
"src": "https://github.com/rafamadriz/friendly-snippets"
},
"gitsigns.nvim": {
"rev": "25050e4ed39e628282831d4cbecb1850454ce915",
"src": "https://github.com/lewis6991/gitsigns.nvim"
},
"grug-far.nvim": {
"rev": "5506c2f59dc9ab2ed6c233585412b24d31d51521",
"src": "https://github.com/MagicDuck/grug-far.nvim"
},
"mason.nvim": {
"rev": "bb639d4bf385a4d89f478b83af4d770be05ab7eb",
"src": "https://github.com/mason-org/mason.nvim"
},
"mini.nvim": {
"rev": "44657837c7338e52727facc85c1d95bec1f6bd7c",
"src": "https://github.com/nvim-mini/mini.nvim"
},
"neogit": {
"rev": "5d1b65d6215928e941e1a6a4e76e02fd45ada31f",
"src": "https://github.com/NeogitOrg/neogit"
},
"nvim-lspconfig": {
"rev": "6f76a3eeadc2ee235d74cd7d5319e95a261084af",
"src": "https://github.com/neovim/nvim-lspconfig"
},
"nvim-treesitter": {
"rev": "4916d6592ede8c07973490d9322f187e07dfefac",
"src": "https://github.com/nvim-treesitter/nvim-treesitter"
},
"plenary.nvim": {
"rev": "74b06c6c75e4eeb3108ec01852001636d85a932b",
"src": "https://github.com/nvim-lua/plenary.nvim"
}
}
}