Method

LspCodeActionContextadd_diagnostic

Declaration

void
lsp_code_action_context_add_diagnostic (
  LspCodeActionContext* self,
  LspDiagnostic* diagnostic
)

Description

Appends a diagnostic to LspCodeActionContext:diagnostics.

Parameters

diagnostic

Type: LspDiagnostic

No description available.

The data is owned by the caller of the method.