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/_meta/options.gen.lua | 5 +++-- runtime/lua/vim/diagnostic.lua | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'runtime/lua/vim') diff --git a/runtime/lua/vim/_meta/options.gen.lua b/runtime/lua/vim/_meta/options.gen.lua index 82f53eedc7..3842c9a56d 100644 --- a/runtime/lua/vim/_meta/options.gen.lua +++ b/runtime/lua/vim/_meta/options.gen.lua @@ -6018,8 +6018,9 @@ vim.o.sw = vim.o.shiftwidth vim.bo.shiftwidth = vim.o.shiftwidth vim.bo.sw = vim.bo.shiftwidth ---- This option helps to avoid all the `hit-enter` prompts caused by file ---- messages, for example with CTRL-G, and to avoid some other messages. +--- Controls display of file messages (e.g. CTRL-G) and various other +--- messages. +--- --- It is a list of flags: --- flag meaning when present ~ --- l use "999L, 888B" instead of "999 lines, 888 bytes" *shm-l* 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