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. |
||
|---|---|---|
| .. | ||
| cli | ||
| core | ||
| modes | ||
| resources/extensions/memory | ||
| tests | ||
| utils | ||
| cli.ts | ||
| config.ts | ||
| index.ts | ||
| main.ts | ||
| migrations.ts | ||