Skip to content

Commit 3108911

Browse files
committed
Report workspace/triggerReindex server capability
Report to clients that the server supports the `workspace/triggerReindex` request. This lets clients expose this functionality only if SourceKit-LSP is configured to support it.
1 parent aca98d3 commit 3108911

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/SourceKitLSP/SourceKitLSPServer.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1104,6 +1104,7 @@ extension SourceKitLSPServer {
11041104
experimental: .dictionary([
11051105
"workspace/tests": .dictionary(["version": .int(2)]),
11061106
"textDocument/tests": .dictionary(["version": .int(2)]),
1107+
"workspace/triggerReindex": .dictionary(["version": .int(1)]),
11071108
])
11081109
)
11091110
}

0 commit comments

Comments
 (0)