From 53b6b9e7d83f2a2ebce5c4c499882d9a106f1b40 Mon Sep 17 00:00:00 2001 From: ray Date: Sat, 6 Dec 2025 20:39:31 +0000 Subject: [PATCH] update --- MIGRATION_PLAN.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/MIGRATION_PLAN.md b/MIGRATION_PLAN.md index b5dc7de..90ae673 100644 --- a/MIGRATION_PLAN.md +++ b/MIGRATION_PLAN.md @@ -45,7 +45,11 @@ Source of truth for the step-by-step rebuild. Keep this concise and up to date. ## Phase 3 — Core Editing & LSP ## Phase 3.1 — Confirm scope and priorities -- [ ] Confirm scope and priorities for this phase +- [x] Confirm scope and priorities for this phase +- [x] Decision: PHP LSP = `intelephense` +- [x] Decision: Enable Markdown LSP = `marksman` +- [x] Decision: Use legacy `listchars` and `showbreak` values +- [x] Decision: Support per‑project config for `intelephense.includePaths` ## Phase 3.2 — Non-plugin settings to Lua - [ ] Port non-plugin settings to Lua (options, listchars, showbreak, spelllang=en_gb) @@ -53,7 +57,14 @@ Source of truth for the step-by-step rebuild. Keep this concise and up to date. ## Phase 3.3 — Core completion stack - [ ] Add core completion stack: `nvim-cmp`, `cmp-nvim-lsp`, `cmp-buffer`, `cmp-path`, `LuaSnip` -## Phase 3.4 — LSP minimal defaults +## Phase 3.4 — Project‑local configuration +- [ ] Confirm scope and priorities for this subphase +- [ ] Choose local config format and location (e.g., `.nvim.lua` or `.nvim/config.lua` at project root) +- [ ] Implement loader to read nearest project config (git root fallback) +- [ ] Wire `intelephense.includePaths` from local config into LSP setup +- [ ] Document usage in repo README (example config) + +## Phase 3.5 — LSP minimal defaults - [ ] Add `nvim-lspconfig` with minimal defaults (no over-configuration) ## Phase 4 — Navigation