Skip to content

Commit

Permalink
[LSP] Add TextDocumentEdit for textDocument/rename support.
Browse files Browse the repository at this point in the history
  • Loading branch information
cdleary committed Sep 28, 2024
1 parent d7bc159 commit b2b45c4
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: object # TextEdit[]

0 comments on commit b2b45c4

Please sign in to comment.