enum LSP::Data::TextDocumentSyncKind

Overview

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

Defined in:

lsp/data/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.

Constructors

Instance Method Summary

Constructor Detail

def self.new(*args) #

[View source]

Instance Method Detail

def full? #

[View source]
def incremental? #

[View source]
def none? #

[View source]
def to_json(*args) #

[View source]