feat: add bootstrap module and update docs #2
Reference in New Issue
Block a user
Delete Branch "feat/add-bootstrap-and-update-docs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
lua/bootstrap.lua— redirects Neovim's data/state/shada paths when running as root (e.g. via a symlinked~/.config/nvim), preventing root sessions from polluting or conflicting with the user-level installinit.luatorequire("bootstrap")before any other module loadsSPDX-License-Identifier)README.mdwith: full Plugin Stack section, bootstrap documentation, machine-local override instructions,qalculatedependency note, and blink.cmp auto-rebuild noteManual Verification
sudo nvim(ornvimas root with a symlinked config) — confirm it starts without errors and does not write data to~/.local/share/nvimunder your user account/root/.local/share/nvim-root/instead~/.config/.user-dots/nvim/local.luawith a harmless override (e.g.vim.opt.cmdheight = 2) — confirm it takes effect on next Neovim startup:messagesfor any blink binary-not-found warnings- Add lua/bootstrap.lua: redirects Neovim data/state paths when running as root (e.g. via symlinked ~/.config/nvim) to prevent root sessions from conflicting with the user-level install - Update init.lua to require("bootstrap") before any other module - Standardize license headers across all Lua files (capitalize author, add SPDX-License-Identifier) - Update README with full plugin stack section, bootstrap docs, machine-local override docs, qalculate dependency, and blink.cmp auto-rebuild note Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>