This commit is contained in:
Dax Raad
2025-06-10 16:29:35 -04:00
parent 6248c1e720
commit 43b429db93
3 changed files with 43 additions and 37 deletions

View File

@@ -33,8 +33,9 @@ export namespace LSP {
for (const match of matches) {
const existing = s.clients.get(match.id)
if (existing) continue
const client = await LSPClient.create(match)
if (!client) continue
const handle = await match.spawn(App.info())
if (!handle) continue
const client = await LSPClient.create(match.id, handle)
s.clients.set(match.id, client)
}
if (waitForDiagnostics) {