From 2b52acfb8a6c43db0e31abe8975330ea3363bd5d Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Mon, 20 Apr 2026 07:09:37 -0400 Subject: docs: misc #39207 --- runtime/lua/vim/diagnostic.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'runtime/lua/vim/diagnostic.lua') diff --git a/runtime/lua/vim/diagnostic.lua b/runtime/lua/vim/diagnostic.lua index 8431d35953..b0c5fdc05c 100644 --- a/runtime/lua/vim/diagnostic.lua +++ b/runtime/lua/vim/diagnostic.lua @@ -69,7 +69,8 @@ local M = vim._defer_require('vim.diagnostic', { --- - `function`: Function with signature (namespace, bufnr) that returns any of the above. --- @class vim.diagnostic.Opts --- ---- Use underline for diagnostics. +--- Used to call attention to a diagnostic ("underline" is a misnomer). +--- Controls the |hl-DiagnosticUnnecessary| and |hl-DiagnosticDeprecated| highlights. --- (default: `true`) --- @field underline? boolean|vim.diagnostic.Opts.Underline|fun(namespace: integer, bufnr:integer): vim.diagnostic.Opts.Underline --- -- cgit