Add 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 install
Update init.lua to require("bootstrap") before any other module loads
Standardize license headers across all Lua files (capitalize author name, add SPDX-License-Identifier)
Update README.md with: full Plugin Stack section, bootstrap documentation, machine-local override instructions, qalculate dependency note, and blink.cmp auto-rebuild note
Manual Verification
Open Neovim normally as your user — confirm startup is clean with no errors
Run sudo nvim (or nvim as root with a symlinked config) — confirm it starts without errors and does not write data to ~/.local/share/nvim under your user account
Confirm root's Neovim data lands in /root/.local/share/nvim-root/ instead
Create ~/.config/.user-dots/nvim/local.lua with a harmless override (e.g. vim.opt.cmdheight = 2) — confirm it takes effect on next Neovim startup
Open Neovim and verify completion (blink.cmp) still works; check :messages for any blink binary-not-found warnings
Verify the README renders correctly on the Gitea repo page — check the Plugin Stack section and Machine-Local Overrides section display as expected
## Summary
- Add `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 install
- Update `init.lua` to `require("bootstrap")` before any other module loads
- Standardize license headers across all Lua files (capitalize author name, add `SPDX-License-Identifier`)
- Update `README.md` with: full Plugin Stack section, bootstrap documentation, machine-local override instructions, `qalculate` dependency note, and blink.cmp auto-rebuild note
## Manual Verification
- [x] Open Neovim normally as your user — confirm startup is clean with no errors
- [x] Run `sudo nvim` (or `nvim` as root with a symlinked config) — confirm it starts without errors and does **not** write data to `~/.local/share/nvim` under your user account
- [x] Confirm root's Neovim data lands in `/root/.local/share/nvim-root/` instead
- [x] Create `~/.config/.user-dots/nvim/local.lua` with a harmless override (e.g. `vim.opt.cmdheight = 2`) — confirm it takes effect on next Neovim startup
- [x] Open Neovim and verify completion (blink.cmp) still works; check `:messages` for any blink binary-not-found warnings
- [x] Verify the README renders correctly on the Gitea repo page — check the Plugin Stack section and Machine-Local Overrides section display as expected
- 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>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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>