enum LSP::TextDocumentSyncKind

Overview

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

Defined in:

base/capabilities/server_capabilities.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? #

[View source]
def incremental? #

[View source]
def none? #

[View source]