aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorGregory Anders <greg@gpanders.com>2021-09-17 10:50:25 -0600
committerGregory Anders <greg@gpanders.com>2021-09-17 10:50:25 -0600
commit32c0631183a64925d38a13819db9557f8da02738 (patch)
treeb7ab4094cbc2fe0a1e61089d49d7954cd9f3642b /runtime/doc
parentf87779a24d7133b04762ad3369704924c4247fba (diff)
downloadrneovim-32c0631183a64925d38a13819db9557f8da02738.tar.gz
rneovim-32c0631183a64925d38a13819db9557f8da02738.tar.bz2
rneovim-32c0631183a64925d38a13819db9557f8da02738.zip
fix(diagnostic): support severity_sort
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/diagnostic.txt21
1 files changed, 17 insertions, 4 deletions
diff --git a/runtime/doc/diagnostic.txt b/runtime/doc/diagnostic.txt
index 00132d3fd7..9ed75e1356 100644
--- a/runtime/doc/diagnostic.txt
+++ b/runtime/doc/diagnostic.txt
@@ -216,18 +216,31 @@ config({opts}, {namespace}) *vim.diagnostic.config()*
{opts} table Configuration table with the following
keys:
• underline: (default true) Use underline for
- diagnostics
+ diagnostics. Options:
+ • severity: Only underline diagnostics
+ matching the given severity
+ |diagnostic-severity|
+
• virtual_text: (default true) Use virtual
- text for diagnostics
+ text for diagnostics. Options:
+ • severity: Only show virtual text for
+ diagnostics matching the given severity
+ |diagnostic-severity|
+
• signs: (default true) Use signs for
- diagnostics
+ diagnostics. Options:
+ • severity: Only show signs for diagnostics
+ matching the given severity
+ |diagnostic-severity|
+
• update_in_insert: (default false) Update
diagnostics in Insert mode (if false,
diagnostics are updated on InsertLeave)
• severity_sort: (default false) Sort
diagnostics by severity. This affects the
order in which signs and virtual text are
- displayed
+ displayed. Options:
+ • reverse: (boolean) Reverse sort order
{namespace} number|nil Update the options for the given
namespace. When omitted, update the global
diagnostic options.