diff options
author | Mathias Fußenegger <mfussenegger@users.noreply.github.com> | 2020-12-20 18:12:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-20 18:12:39 +0100 |
commit | abcbc5a9f346f98591f27eb73bc1c63787779368 (patch) | |
tree | cfd5c4042609be01ce9c4046ea39961e6246d35d /runtime/lua/vim/shared.lua | |
parent | fa461239980bd21d54c44d5a42b1904fd82d15b7 (diff) | |
download | rneovim-abcbc5a9f346f98591f27eb73bc1c63787779368.tar.gz rneovim-abcbc5a9f346f98591f27eb73bc1c63787779368.tar.bz2 rneovim-abcbc5a9f346f98591f27eb73bc1c63787779368.zip |
lsp: Fix text payload in didSave notification (#13363)
According to the specification[1] the payload must look like this:
interface DidSaveTextDocumentParams {
/**
* The document that was saved.
*/
textDocument: TextDocumentIdentifier;
/**
* Optional the content when saved. Depends on the includeText value
* when the save notification was requested.
*/
text?: string;
}
`text` must be on the same level as `textDocument´.
Where `TextDocumentIdentifier` is:
interface TextDocumentIdentifier {
/**
* The text document's URI.
*/
uri: DocumentUri;
}
[1]: https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_didSave
Diffstat (limited to 'runtime/lua/vim/shared.lua')
0 files changed, 0 insertions, 0 deletions