Add gitsigns via vim.pack, track the pack lockfile
Restores plugin management after the v0.12 config rewrite dropped the earlier `vim.pack.add` calls. Plugins now live in `config/plugins/`, one file per plugin, so adding the next is a single require. Sets `<leader>` to Space for the gitsigns hunk mappings, and pins 'signcolumn' open so git and diagnostic signs don't shift text. The lockfile moves into the repo and is symlinked by bootstrap.sh, as the vim.pack docs recommend, giving reproducible plugin revisions across machines and a rollback path via git. vim.pack writes it with a truncating open, so it follows the symlink rather than replacing it. Drops the orphaned nvim-tree entry, unreferenced since the rewrite. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
e1382f5c1f
commit
509b16f543
6 changed files with 72 additions and 0 deletions
|
|
@ -1,3 +1,4 @@
|
|||
require('config.options')
|
||||
require('config.plugins')
|
||||
require('config.diagnostics')
|
||||
require('config.lsp')
|
||||
|
|
|
|||
Loading…
Reference in a new issue