enum

LSP::TextDocumentSyncKind

Inherits Enum < Comparable < Value < Object

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

Constants

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 methods

full?

Returns true if this enum value equals Full

Source
incremental?

Returns true if this enum value equals Incremental

Source
none?

Returns true if this enum value equals None

Source