This commit is contained in:
Dax Raad
2025-08-07 00:41:50 -04:00
parent d45d5d664c
commit 1fb54efdd2
25 changed files with 149 additions and 142 deletions
+2 -2
View File
@@ -108,7 +108,7 @@ export namespace LSP {
const result: LSPClient.Info[] = []
for (const server of Object.values(LSPServer)) {
if (server.extensions.length && !server.extensions.includes(extension)) continue
const root = await server.root(file, App.info())
const root = await server.root(file)
if (!root) continue
if (s.broken.has(root + server.id)) continue
@@ -117,7 +117,7 @@ export namespace LSP {
result.push(match)
continue
}
const handle = await server.spawn(App.info(), root)
const handle = await server.spawn(root)
if (!handle) continue
const client = await LSPClient.create({
serverID: server.id,