View Source GenLSP.Structures.TextDocumentSyncOptions (gen_lsp v0.10.0)
Link to this section Summary
Functions
Fields
- open_close: Open and close notifications are sent to the server. If omitted open close notification should not be sent.
- change: Change notifications are sent to the server. See TextDocumentSyncKind.None, TextDocumentSyncKind.Full and TextDocumentSyncKind.Incremental. If omitted it defaults to TextDocumentSyncKind.None.
- will_save: If present will save notifications are sent to the server. If omitted the notification should not be sent.
- will_save_wait_until: If present will save wait until requests are sent to the server. If omitted the request should not be sent.
- save: If present save notifications are sent to the server. If omitted the notification should not be sent.
Link to this section Types
@type t() :: %GenLSP.Structures.TextDocumentSyncOptions{ change: GenLSP.Enumerations.TextDocumentSyncKind.t() | nil, open_close: boolean() | nil, save: (boolean() | GenLSP.Structures.SaveOptions.t()) | nil, will_save: boolean() | nil, will_save_wait_until: boolean() | nil }
Link to this section Functions
fields
Fields
- open_close: Open and close notifications are sent to the server. If omitted open close notification should not be sent.
- change: Change notifications are sent to the server. See TextDocumentSyncKind.None, TextDocumentSyncKind.Full and TextDocumentSyncKind.Incremental. If omitted it defaults to TextDocumentSyncKind.None.
- will_save: If present will save notifications are sent to the server. If omitted the notification should not be sent.
- will_save_wait_until: If present will save wait until requests are sent to the server. If omitted the request should not be sent.
- save: If present save notifications are sent to the server. If omitted the notification should not be sent.