Skip to content

Commit 2fa5434

Browse files
committed
Add doc comment from LSP to TextDocumentContentResponse
1 parent 0a4611b commit 2fa5434

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Sources/LanguageServerProtocol/Requests/TextDocumentContentRequest.swift

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@ public struct TextDocumentContentRequest: RequestType {
2828
}
2929
}
3030

31-
/// Response containing `text` of `TextDocumentContentRequest`
31+
/// Response containing the content of the requested text document.
32+
///
33+
/// Please note, that the content of any subsequent open notifications for the
34+
/// text document might differ from the returned content due to whitespace and
35+
/// line ending normalizations done on the client.
3236
public struct TextDocumentContentResponse: ResponseType {
3337
public var text: String
3438

0 commit comments

Comments
 (0)