Retire legacy files and migration fixtures, move runtime state out of the repository, and migrate Tree-sitter and textobjects to their Neovim 0.12-compatible main branches.
25 lines
1 KiB
Markdown
25 lines
1 KiB
Markdown
# Neovim Config - AI Agent Instructions
|
|
|
|
**All agent instructions are in `AGENTS.md` at the repository root.**
|
|
|
|
This file exists to satisfy GitHub Copilot's convention of looking for instructions in `.github/copilot-instructions.md`.
|
|
|
|
## Quick Reference
|
|
|
|
- **Primary instructions**: See `AGENTS.md`
|
|
- **Decision log**: See `LOG.md`
|
|
- **Keymap reference**: See `README.md`
|
|
|
|
## Key Rules (Summary)
|
|
|
|
1. **Read `AGENTS.md` first** - it contains all coding rules, architecture decisions, and what NOT to reintroduce
|
|
2. **Update docs after changes**:
|
|
- Decisions → update `LOG.md`
|
|
- User-facing behavior and keymaps → update `README.md`
|
|
3. **Modern Lua-first**: Use `vim.opt`, `vim.keymap.set`, `vim.api` - avoid Vimscript
|
|
4. **LSP (Neovim 0.11+)**: Use `vim.lsp.config()` + `vim.lsp.enable()`, NOT lspconfig `.setup()`
|
|
5. **Project config**: Native `exrc` + `secure`, no neoconf plugin
|
|
6. **No new plugins** without explicit user approval
|
|
|
|
For complete details, workflow requirements, architecture decisions, and troubleshooting, see `AGENTS.md`.
|
|
|