GenLSP.Enumerations.TextDocumentSyncKind (gen_lsp v0.0.7)
Defines how the host (editor) should sync document changes to the language server.
Link to this section Summary
Functions
Documents are synced by always sending the full content of the document.
Documents are synced by sending the full content on open. After that only incremental updates to the document are send.
Documents should not be synced at all.
Link to this section Types
@type t() :: 0 | 1 | 2
Link to this section Functions
Link to this function
full()
@spec full() :: 1
Documents are synced by always sending the full content of the document.
Link to this function
incremental()
@spec incremental() :: 2
Documents are synced by sending the full content on open. After that only incremental updates to the document are send.
Link to this function
none()
@spec none() :: 0
Documents should not be synced at all.