Desktop: Sync LSP updates (#6305)

This commit is contained in:
Daniel Polito
2025-12-28 19:07:36 -03:00
committed by GitHub
parent 66fb40375a
commit c184718be5
+9
View File
@@ -361,6 +361,15 @@ function createGlobalSync() {
)
break
}
case "lsp.updated": {
const sdk = createOpencodeClient({
baseUrl: globalSDK.url,
directory,
throwOnError: true,
})
sdk.lsp.status().then((x) => setStore("lsp", x.data ?? []))
break
}
}
})