Construct LanguageServiceRegistry outside of SourceKitLSP module

This commit is contained in:
Alex Hoppen
2025-07-17 08:48:12 +02:00
parent 4f792e8781
commit c692a83f43
10 changed files with 68 additions and 55 deletions

View File

@@ -60,7 +60,7 @@ public final class InProcessSourceKitLSPClient: Sendable {
self.server = SourceKitLSPServer(
client: serverToClientConnection,
toolchainRegistry: toolchainRegistry,
languageServerRegistry: LanguageServiceRegistry(),
languageServerRegistry: .staticallyKnownServices,
options: options,
hooks: hooks,
onExit: {