Method

LspCompletionItemget_sort_text

Declaration

const gchar*
lsp_completion_item_get_sort_text (
  LspCompletionItem* self
)

Description

Gets the value of sort_text.

A string that should be used when comparing this item with other items. When omitted, the label is used as the sort text for this item.

Return value

Type: const gchar*

The value of sort_text.

The returned data is owned by the instance.
The return value can be NULL.
The value is a NUL terminated UTF-8 string.