nvim_runtime_lua

lsp.DiagnosticRelatedInformation

Represents a related message and source code location for a diagnostic. This should be used to point to code locations that cause or related to a diagnostics, e.g when duplicating a symbol in a scope.

Fields2

DiagnosticRelatedInformation.location : lsp.Location

The location of this related diagnostic information.

DiagnosticRelatedInformation.message : string

The message of this related diagnostic information.