mirror of
https://github.com/microsoft/language-server-protocol.git
synced 2025-12-23 08:48:16 +00:00
Clarify version number
This commit is contained in:
parent
24b229a97c
commit
ea0685f6d3
1 changed files with 4 additions and 1 deletions
|
|
@ -566,7 +566,10 @@ interface VersionedTextDocumentIdentifier extends TextDocumentIdentifier {
|
|||
* is sent from the server to the client and the file is not open in the editor
|
||||
* (the server has not received an open notification before) the server can send
|
||||
* `null` to indicate that the version is known and the content on disk is the
|
||||
* truth (as speced with document content ownership)
|
||||
* truth (as speced with document content ownership).
|
||||
*
|
||||
* The version number of a document will increase after each change, including
|
||||
* undo/redo. The number doesn't need to be consecutive.
|
||||
*/
|
||||
version: number | null;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue