configure copilot

This commit is contained in:
Ray Elliott 2025-12-07 22:03:35 +00:00
commit c47afa2471
4 changed files with 43 additions and 10 deletions

View file

@ -242,13 +242,20 @@ Source of truth for the step-by-step rebuild. Keep this concise and up to date.
## Phase 8 — Copilot
## Phase 8.1 — Confirm scope and priorities
- [ ] Confirm scope and priorities for this phase
- [x] Confirm scope and priorities for this phase
- [x] Decision: Integrate Copilot into nvim-cmp as completion source
- [x] Decision: Auto-trigger suggestions as you type
- [x] Decision: No specific Copilot keymaps needed (use existing cmp keymaps)
- [x] Decision: Enable for all filetypes
- [x] Decision: Copilot suggestions appear before LSP suggestions in completion menu
- [x] Node.js v22.21.1 upgraded and confirmed working
## Phase 8.2 — Copilot setup
- [ ] Add `zbirenbaum/copilot.lua` + `copilot-cmp`
- [ ] Configure copilot integration with nvim-cmp
- [ ] Add keymaps for copilot suggestions
- [ ] Configure behavior preferences
- [x] Add `zbirenbaum/copilot.lua` + `zbirenbaum/copilot-cmp`
- [x] Configure copilot.lua with auto-trigger and all filetypes
- [x] Add copilot-cmp as source to nvim-cmp
- [x] Set copilot-cmp priority higher than LSP in completion menu
- [x] Note: Copilot initializes on first InsertEnter; enter/exit insert mode once before using `:Copilot auth`
## Phase 9 — Formatting & Linting