struct

LSP::TextDocumentSyncOptions

Inherits JSON::Serializable < LSP::Initializer < Struct < Value < Object

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

change

Change notifications are sent to the server. See TextDocumentSyncKind.None, TextDocumentSyncKind.Full and TextDocumentSyncKind.Incremental. If omitted it defaults to TextDocumentSyncKind.None.

Source
change=(change : TextDocumentSyncKind | Nil)

Change notifications are sent to the server. See TextDocumentSyncKind.None, TextDocumentSyncKind.Full and TextDocumentSyncKind.Incremental. If omitted it defaults to TextDocumentSyncKind.None.

Source
open_close

Open and close notifications are sent to the server. If omitted open close notification should not be sent.

Source
open_close=(open_close : Bool | Nil)

Open and close notifications are sent to the server. If omitted open close notification should not be sent.

Source