Skip to content

Commit 9702a28

Browse files
committed
Add doc comment from LSP to TextDocumentContentResponse
1 parent 88ca0c6 commit 9702a28

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Sources/LanguageServerProtocol/Requests/TextDocumentContentRequest.swift

+5-1
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)