vim.diagnostic.GetOpts
A table with the following keys:
Fields4
GetOpts.namespace : integer[] | integer | nil
Limit diagnostics to one or more namespaces.
GetOpts.lnum : nil | integer
Limit diagnostics to those spanning the specified line number (0-indexed, see |diagnostic-structure|).
GetOpts.severity : vim.diagnostic.SeverityFilter | nil
See |diagnostic-severity|.
GetOpts.enabled : nil | boolean
Limit diagnostics to only enabled or disabled. If nil, enablement is ignored. See |vim.diagnostic.enable()| (default: nil)