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.cr

Enum 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

Instance Method Detail

def full? #

Returns true if this enum value equals Full


[View source]
def incremental? #

Returns true if this enum value equals Incremental


[View source]
def none? #

Returns true if this enum value equals None


[View source]