diff --git a/common/lsp/lsp-protocol.yaml b/common/lsp/lsp-protocol.yaml index aa048ff76..f5d194fa8 100644 --- a/common/lsp/lsp-protocol.yaml +++ b/common/lsp/lsp-protocol.yaml @@ -228,3 +228,13 @@ InlayHint: tooltip?: string paddingLeft?: boolean paddingRight?: boolean + +# -- textDcoument/rename + +OptionalVersionedTextDocumentIdentifier: + <: TextDocumentIdentifier + version?: integer + +TextDocumentEdit: + textDocument: OptionalVersionedTextDocumentIdentifier + edits+: TextEdit