nvim_runtime_lua

lsp.DiagnosticOptions

Diagnostic options.

Fields3

DiagnosticOptions.identifier : nil | string

An optional identifier under which the diagnostics are managed by the client.

DiagnosticOptions.interFileDependencies : boolean

Whether the language has inter file dependencies meaning that editing code in one file can result in a different diagnostic set in another file. Inter file dependencies are common for most programming languages and typically uncommon for linters.

DiagnosticOptions.workspaceDiagnostics : boolean

The server provides support for workspace diagnostics as well.