Module: LanguageServer::Protocol::Constants::TextDocumentSyncKind
- Defined in:
- lib/language_server/protocol/constants/text_document_sync_kind.rb
Overview
Defines how the host (editor) should sync document changes to the language server.
Constant Summary collapse
- NONE =
Documents should not be synced at all.
0- FULL =
Documents are synced by always sending the full content of the document.
1- INCREMENTAL =
Documents are synced by sending the full content on open. After that only incremental updates to the document are send.
2