See ../agents/AGENTS.MD for global policy.
- Dotfiles commits use a single dot message:
. - Do not amend commits unless explicitly asked.
- Quick sanity check:
nvim --headless +"lua print('nvim ok')" +qa
- After plugin list changes, run
:PackerSyncinside Neovim and wait for installs to finish. - Headless sync (when needed):
nvim --headless +'autocmd User PackerComplete quitall' +PackerSync
- If LSP changes are involved, open a representative file and verify
:LspInfoshows expected clients.
- Create a
.nvim.luafile in a project root to set project-specific options. - On first load you will be prompted; choose “Always” to trust and persist it.
- Trusted paths are stored in
~/.local/share/nvim/local-config.json.
- Format:
stylua common/config/nvim - Lint:
selene common/config/nvim - After any Neovim config changes, run both commands.
- Keep changes safe for macOS; Linux-only tweaks must stay OS-gated when needed.