nvim_runtime_lua

lsp.TextDocumentSyncOptions

Fields5

TextDocumentSyncOptions.openClose : nil | boolean

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

TextDocumentSyncOptions.change : lsp.TextDocumentSyncKind | nil

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

TextDocumentSyncOptions.willSave : nil | boolean

If present will save notifications are sent to the server. If omitted the notification should not be sent.

TextDocumentSyncOptions.willSaveWaitUntil : nil | boolean

If present will save wait until requests are sent to the server. If omitted the request should not be sent.

TextDocumentSyncOptions.save : boolean | lsp.SaveOptions | nil

If present save notifications are sent to the server. If omitted the notification should not be sent.