diff options
author | Gregory Anders <8965202+gpanders@users.noreply.github.com> | 2023-12-13 10:38:16 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-13 10:38:16 -0600 |
commit | ad6c4c2e9d48b614b189e47019a9098d4e87f05c (patch) | |
tree | ca3a0fe3a1de20bf82c94b510099145996295b70 /runtime/doc | |
parent | ef58ee48f4d553d364c4284870b0860f8cc8427b (diff) | |
parent | a3b39784744f330b922117655811542202fcd85b (diff) | |
download | rneovim-ad6c4c2e9d48b614b189e47019a9098d4e87f05c.tar.gz rneovim-ad6c4c2e9d48b614b189e47019a9098d4e87f05c.tar.bz2 rneovim-ad6c4c2e9d48b614b189e47019a9098d4e87f05c.zip |
Merge pull request #26555 from gpanders/diagnostic-sign-fixup
Diagnostic sign fixups
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/diagnostic.txt | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/runtime/doc/diagnostic.txt b/runtime/doc/diagnostic.txt index 1e16edbdb2..4cf8fef7c4 100644 --- a/runtime/doc/diagnostic.txt +++ b/runtime/doc/diagnostic.txt @@ -441,10 +441,16 @@ config({opts}, {namespace}) *vim.diagnostic.config()* warnings, information, and hints, respectively. Example: >lua - vim.diagnostic.config({ - sign = { text = { [vim.diagnostic.severity.ERROR] = 'E', ... } } - }) + vim.diagnostic.config({ + signs = { text = { [vim.diagnostic.severity.ERROR] = 'E', ... } } + }) < + • numhl: (table) A table mapping |diagnostic-severity| + to the highlight group used for the line number where + the sign is placed. + • linehl: (table) A table mapping |diagnostic-severity| + to the highlight group used for the whole line the + sign is placed in. • float: Options for floating windows. See |vim.diagnostic.open_float()|. |