@@ -281,7 +281,7 @@ struct TextDocumentEdit {
281281 // / The text document to change.
282282 VersionedTextDocumentIdentifier textDocument;
283283
284- // / The edits to be applied.
284+ // / The edits to be applied.
285285 // / FIXME: support the AnnotatedTextEdit variant.
286286 std::vector<TextEdit> edits;
287287};
@@ -560,7 +560,7 @@ struct ClientCapabilities {
560560
561561 // / The client supports versioned document changes for WorkspaceEdit.
562562 bool DocumentChanges = false ;
563-
563+
564564 // / The client supports change annotations on text edits,
565565 bool ChangeAnnotation = false ;
566566
@@ -1027,12 +1027,12 @@ struct WorkspaceEdit {
10271027 // / Versioned document edits.
10281028 // /
10291029 // / If a client neither supports `documentChanges` nor
1030- // / `workspace.workspaceEdit.resourceOperations` then only plain `TextEdit`s
1031- // / using the `changes` property are supported.
1030+ // / `workspace.workspaceEdit.resourceOperations` then only plain `TextEdit`s
1031+ // / using the `changes` property are supported.
10321032 std::optional<std::vector<TextDocumentEdit>> documentChanges;
1033-
1033+
10341034 // / A map of change annotations that can be referenced in
1035- // / AnnotatedTextEdit.
1035+ // / AnnotatedTextEdit.
10361036 std::map<std::string, ChangeAnnotation> changeAnnotations;
10371037};
10381038bool fromJSON (const llvm::json::Value &, WorkspaceEdit &, llvm::json::Path);
@@ -1104,13 +1104,13 @@ struct CodeAction {
11041104};
11051105llvm::json::Value toJSON (const CodeAction &);
11061106
1107- enum class SymbolTag {
1107+ enum class SymbolTag {
11081108 Deprecated = 1 ,
11091109 Private = 2 ,
11101110 Package = 3 ,
11111111 Protected = 4 ,
11121112 Public = 5 ,
1113- Internal= 6 ,
1113+ Internal = 6 ,
11141114 File = 7 ,
11151115 Static = 8 ,
11161116 Abstract = 9 ,
@@ -1314,13 +1314,13 @@ enum class InsertTextFormat {
13141314// / Additional details for a completion item label.
13151315struct CompletionItemLabelDetails {
13161316 // / An optional string which is rendered less prominently directly after label
1317- // / without any spacing. Should be used for function signatures or type
1317+ // / without any spacing. Should be used for function signatures or type
13181318 // / annotations.
13191319 std::string detail;
13201320
13211321 // / An optional string which is rendered less prominently after
1322- // / CompletionItemLabelDetails.detail. Should be used for fully qualified
1323- // / names or file path.
1322+ // / CompletionItemLabelDetails.detail. Should be used for fully qualified
1323+ // / names or file path.
13241324 std::string description;
13251325};
13261326llvm::json::Value toJSON (const CompletionItemLabelDetails &);
@@ -1598,7 +1598,6 @@ struct ResolveTypeHierarchyItemParams {
15981598bool fromJSON (const llvm::json::Value &, ResolveTypeHierarchyItemParams &,
15991599 llvm::json::Path);
16001600
1601-
16021601// / The parameter of a `textDocument/prepareCallHierarchy` request.
16031602struct CallHierarchyPrepareParams : public TextDocumentPositionParams {};
16041603
0 commit comments