Skip to content

Commit 838d4a9

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 331ae2b commit 838d4a9

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
@@ -1120,6 +1120,7 @@ extension SourceKitLSPServer {
11201120
experimental: .dictionary([
11211121
"workspace/tests": .dictionary(["version": .int(2)]),
11221122
"textDocument/tests": .dictionary(["version": .int(2)]),
1123+
"workspace/triggerReindex": .dictionary(["version": .int(1)]),
11231124
])
11241125
)
11251126
}

0 commit comments

Comments
 (0)