enum
LSP::TextDocumentSyncKind
Overview
Defines how the host (editor) should sync document changes to the language server.
Defined in:
lsp/protocol/text_document_sync_kind.crEnum Members
-
None =
0 -
Documents should not be synced at all.
-
Full =
1 -
Documents are synced by always sending the full content of the document.
-
Incremental =
2 -
Documents are synced by sending the full content on open. After that only incremental updates to the document are send.
Instance Method Summary
-
#full?
Returns
trueif this enum value equalsFull -
#incremental?
Returns
trueif this enum value equalsIncremental -
#none?
Returns
trueif this enum value equalsNone