Skip to content

Commit

Permalink
Fix typos (#1240)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbaeumer authored Apr 24, 2023
1 parent 9a57110 commit 1320922
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions protocol/metaModel.json
Original file line number Diff line number Diff line change
Expand Up @@ -1633,7 +1633,7 @@
"kind": "reference",
"name": "DocumentFormattingRegistrationOptions"
},
"documentation": "A request to to format a whole document."
"documentation": "A request to format a whole document."
},
{
"method": "textDocument/rangeFormatting",
Expand Down Expand Up @@ -1662,7 +1662,7 @@
"kind": "reference",
"name": "DocumentRangeFormattingRegistrationOptions"
},
"documentation": "A request to to format a range in a document."
"documentation": "A request to format a range in a document."
},
{
"method": "textDocument/onTypeFormatting",
Expand Down Expand Up @@ -7623,7 +7623,7 @@
"documentation": "Options necessary for the registration."
}
],
"documentation": "General parameters to to register for an notification or to register a provider."
"documentation": "General parameters to register for a notification or to register a provider."
},
{
"name": "Unregistration",
Expand Down
6 changes: 3 additions & 3 deletions protocol/src/common/protocol.ts
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ export namespace DocumentSelector {
}

/**
* General parameters to to register for an notification or to register a provider.
* General parameters to register for a notification or to register a provider.
*/
export interface Registration {
/**
Expand Down Expand Up @@ -3392,7 +3392,7 @@ export interface DocumentFormattingRegistrationOptions extends TextDocumentRegis
}

/**
* A request to to format a whole document.
* A request to format a whole document.
*/
export namespace DocumentFormattingRequest {
export const method: 'textDocument/formatting' = 'textDocument/formatting';
Expand Down Expand Up @@ -3443,7 +3443,7 @@ export interface DocumentRangeFormattingRegistrationOptions extends TextDocument
}

/**
* A request to to format a range in a document.
* A request to format a range in a document.
*/
export namespace DocumentRangeFormattingRequest {
export const method: 'textDocument/rangeFormatting' = 'textDocument/rangeFormatting';
Expand Down

0 comments on commit 1320922

Please sign in to comment.