Defines how the host (editor) should sync document changes to the language server.

Variables

@:value(cast 1)@:impl@:enuminlineread onlyFull:TextDocumentSyncKind = 1

Documents are synced by always sending the full content of the document.

@:value(cast 2)@:impl@:enuminlineread onlyIncremental:TextDocumentSyncKind = 2

Documents are synced by sending the full content on open. After that only incremental updates to the document are send.

@:value(cast 0)@:impl@:enuminlineread onlyNone:TextDocumentSyncKind = 0

Documents should not be synced at all.