Method

LspCompletionItemLabelDetailsset_detail

Declaration

void
lsp_completion_item_label_details_set_detail (
  LspCompletionItemLabelDetails* self,
  const gchar* value
)

Description

Sets the value of detail.

An optional string which is rendered less prominently directly after detail, without any spacing. Should be used for function signatures or type annotations.

Parameters

value

Type: const gchar*

The new value of detail.

The argument can be NULL.
The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.