feat: add bootstrap module and update docs #2

Merged
rootiest merged 1 commits from feat/add-bootstrap-and-update-docs into main 2026-05-08 18:21:53 +00:00
Owner

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

  • 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
rootiest added 1 commit 2026-05-08 18:19:36 +00:00
- 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>
rootiest merged commit 859cfc3793 into main 2026-05-08 18:21:53 +00:00
rootiest deleted branch feat/add-bootstrap-and-update-docs 2026-05-08 18:21:53 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rootiest/neovim-config#2