Method

LspDiagnosticset_severity

Declaration

void
lsp_diagnostic_set_severity (
  LspDiagnostic* self,
  LspDiagnosticSeverity value
)

Description

Sets the value of severity.

The diagnostic’s severity. Can be omitted. If omitted it is up to the client to interpret diagnostics as error, warning, info or hint.

Parameters

value

Type: LspDiagnosticSeverity

The new value of severity.