diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2026-04-20 07:09:37 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-20 07:09:37 -0400 |
| commit | 2b52acfb8a6c43db0e31abe8975330ea3363bd5d (patch) | |
| tree | 29e50ed3179130403d8889f9f32d687159e69425 /runtime/lua/vim | |
| parent | 01861c2f955119cc88158273e100b3490c3df6e1 (diff) | |
| download | rneovim-2b52acfb8a6c43db0e31abe8975330ea3363bd5d.tar.gz rneovim-2b52acfb8a6c43db0e31abe8975330ea3363bd5d.tar.bz2 rneovim-2b52acfb8a6c43db0e31abe8975330ea3363bd5d.zip | |
docs: misc #39207
Diffstat (limited to 'runtime/lua/vim')
| -rw-r--r-- | runtime/lua/vim/_meta/options.gen.lua | 5 | ||||
| -rw-r--r-- | runtime/lua/vim/diagnostic.lua | 3 |
2 files changed, 5 insertions, 3 deletions
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 --- |