Method

LspDiagnosticget_severity

Declaration

LspDiagnosticSeverity
lsp_diagnostic_get_severity (
  LspDiagnostic* self
)

Description

Gets 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.

Return value

Type: LspDiagnosticSeverity

The value of severity.