Method

LspCompletionContextset_trigger_character

Declaration

void
lsp_completion_context_set_trigger_character (
  LspCompletionContext* self,
  const gchar* value
)

Description

Sets the value of trigger_character.

The trigger character (a single character) that has triggered code complete. Is null if trigger_kind !== CompletionTriggerKind.TRIGGER_CHARACTER.

Parameters

value

Type: const gchar*

The new value of trigger_character.

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