Skip to content

Commit 1e799a8

Browse files
committed
Document deprecated property
1 parent c7b0a68 commit 1e799a8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Sources/LanguageServerProtocol/SupportTypes/SKCompletionOptions.swift

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,12 @@ public struct SKCompletionOptions: Codable, Hashable {
1818
/// The maximum number of completion results to return, or `nil` for unlimited.
1919
public var maxResults: Int?
2020

21+
/// Older `sourcekit-lsp` binaries reject request sent from client to
22+
/// server when the parameter is missing. By adding the parameter with default
23+
/// value true the client that uses **LanguageServerProtocol** as model can still
24+
/// interact with shipped `sourcekit-lsp` instances.
2125
@available(*, deprecated, message: "Not used")
22-
public var serverSideFiltering: Bool = true
26+
public private(set) var serverSideFiltering: Bool = true
2327

2428
public init(maxResults: Int? = 200) {
2529
self.maxResults = maxResults

0 commit comments

Comments
 (0)