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/diagnostic.lua | |
| parent | 01861c2f955119cc88158273e100b3490c3df6e1 (diff) | |
| download | rneovim-2b52acfb8a6c43db0e31abe8975330ea3363bd5d.tar.gz rneovim-2b52acfb8a6c43db0e31abe8975330ea3363bd5d.tar.bz2 rneovim-2b52acfb8a6c43db0e31abe8975330ea3363bd5d.zip | |
docs: misc #39207
Diffstat (limited to 'runtime/lua/vim/diagnostic.lua')
| -rw-r--r-- | runtime/lua/vim/diagnostic.lua | 3 |
1 files changed, 2 insertions, 1 deletions
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 --- |