Skip to content

Commit

Permalink
Merge pull request #2262 from cdleary/cdleary/2024-09-27-lsp-text-doc…
Browse files Browse the repository at this point in the history
…ument-edit

[LSP] Add TextDocumentEdit for textDocument/rename support.
  • Loading branch information
hzeller authored Oct 16, 2024
2 parents cf1fc25 + 5eb874c commit 86ee9ba
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions common/lsp/lsp-protocol.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -228,3 +228,13 @@ InlayHint:
tooltip?: string
paddingLeft?: boolean
paddingRight?: boolean

# -- textDcoument/rename

OptionalVersionedTextDocumentIdentifier:
<: TextDocumentIdentifier
version?: integer

TextDocumentEdit:
textDocument: OptionalVersionedTextDocumentIdentifier
edits+: TextEdit

0 comments on commit 86ee9ba

Please sign in to comment.