diff --git a/Sources/SKCore/SourceKitLSPOptions.swift b/Sources/SKCore/SourceKitLSPOptions.swift index 953c0feab..6c36a9fe6 100644 --- a/Sources/SKCore/SourceKitLSPOptions.swift +++ b/Sources/SKCore/SourceKitLSPOptions.swift @@ -379,6 +379,10 @@ public struct SourceKitLSPOptions: Sendable, Codable { ) self.generatedFilesPath = try container.decodeIfPresent(String.self, forKey: CodingKeys.generatedFilesPath) self.backgroundIndexing = try container.decodeIfPresent(Bool.self, forKey: CodingKeys.backgroundIndexing) + self.backgroundPreparationMode = try container.decodeIfPresent( + String.self, + forKey: CodingKeys.backgroundPreparationMode + ) self.experimentalFeatures = try container.decodeIfPresent( Set.self, forKey: CodingKeys.experimentalFeatures @@ -391,5 +395,9 @@ public struct SourceKitLSPOptions: Sendable, Codable { Double.self, forKey: CodingKeys.workDoneProgressDebounceDuration ) + self.sourcekitdRequestTimeout = try container.decodeIfPresent( + Double.self, + forKey: CodingKeys.sourcekitdRequestTimeout + ) } }