Two fixes: 1. lsp/config.ts: Use `where.exe` instead of `which` on Windows. MSYS's `which` returns POSIX paths (/c/Users/...) that Node's spawn() can't execute. `where.exe` returns native Windows paths. 2. lsp/client.ts: Handle spawn ENOENT error gracefully. When the LSP server binary doesn't exist, the error event now triggers a clean exit instead of bubbling up and crashing auto-mode. |
||
|---|---|---|
| .. | ||
| scripts | ||
| src | ||
| package.json | ||
| pnpm-lock.yaml | ||
| tsconfig.json | ||