Method

LspServerCapsset_document_on_type_formatting

Declaration

void
lsp_server_caps_set_document_on_type_formatting (
  LspServerCaps* self,
  LspDocumentOnTypeFormattingOptions* value
)

Description

Sets the value of document_on_type_formatting.

The server provides document formatting on typing.

Parameters

value

Type: LspDocumentOnTypeFormattingOptions

The new value of document_on_type_formatting.

The argument can be NULL.
The data is owned by the caller of the method.