vim.diagnostic.Opts.VirtualLines
Fields4
VirtualLines.severity : vim.diagnostic.SeverityFilter | nil
Only show virtual lines for diagnostics matching the given severity |diagnostic-severity|
VirtualLines.current_line : nil | boolean
Only show diagnostics for the current line. Updated on |CursorHold|, see 'updatetime'. (default: false)
VirtualLines.format : fun(diagnostic: vim.Diagnostic) -> nil | string | nil
VirtualLines.overflow : "trunc" | "scroll" | "wrap" | "auto" | nil
See virt_lines_overflow in |nvimbufset_extmark()|. (default: auto)