From f91b63f5f1ace71953a351e7c0d2784a083191e5 Mon Sep 17 00:00:00 2001 From: Alex Hoppen Date: Mon, 3 Jun 2024 08:22:44 -0700 Subject: [PATCH] Set experimental features from the command line in `SourceKitLSPServer.Options` I forgot to actually set the experimental features form the command line in the `SourceKitLSPServer.Options` that get used. --- Sources/sourcekit-lsp/SourceKitLSP.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/sourcekit-lsp/SourceKitLSP.swift b/Sources/sourcekit-lsp/SourceKitLSP.swift index 22531d171..d0f317355 100644 --- a/Sources/sourcekit-lsp/SourceKitLSP.swift +++ b/Sources/sourcekit-lsp/SourceKitLSP.swift @@ -224,6 +224,7 @@ struct SourceKitLSP: AsyncParsableCommand { serverOptions.indexOptions.indexPrefixMappings = indexPrefixMappings serverOptions.completionOptions.maxResults = completionMaxResults serverOptions.generatedInterfacesPath = generatedInterfacesPath + serverOptions.experimentalFeatures = experimentalFeatures return serverOptions }