Skip to content

Commit a7f9382

Browse files
committed
Declare textDocumentContent server capabilities
This includes advertising our custom "sourcekit-lsp" scheme to the client.
1 parent 066c385 commit a7f9382

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Sources/SourceKitLSP/SourceKitLSPServer.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1155,6 +1155,9 @@ extension SourceKitLSPServer {
11551155
workspaceFolders: .init(
11561156
supported: true,
11571157
changeNotifications: .bool(true)
1158+
),
1159+
textDocumentContent: .init(
1160+
schemes: [ReferenceDocumentURL.scheme]
11581161
)
11591162
),
11601163
callHierarchyProvider: .bool(true),

0 commit comments

Comments
 (0)