aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorMathias Fußenegger <mfussenegger@users.noreply.github.com>2021-09-18 13:21:54 +0200
committerGitHub <noreply@github.com>2021-09-18 13:21:54 +0200
commit8ef2b56cac895c151345cf0ff0a97456c0a7fdd2 (patch)
tree891d7bbb1632a8fe231fa6f258a58b69e5eefefe /runtime/doc
parent1f49268c46fcbe65f7e2e2cb620e6f51c059cf9e (diff)
parent0dcf4ab27bc363b54a4274399f2367d914773347 (diff)
downloadrneovim-8ef2b56cac895c151345cf0ff0a97456c0a7fdd2.tar.gz
rneovim-8ef2b56cac895c151345cf0ff0a97456c0a7fdd2.tar.bz2
rneovim-8ef2b56cac895c151345cf0ff0a97456c0a7fdd2.zip
fix(diagnostic): change default severity_sort order
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/diagnostic.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/doc/diagnostic.txt b/runtime/doc/diagnostic.txt
index 9ed75e1356..199c04be98 100644
--- a/runtime/doc/diagnostic.txt
+++ b/runtime/doc/diagnostic.txt
@@ -239,7 +239,9 @@ config({opts}, {namespace}) *vim.diagnostic.config()*
• severity_sort: (default false) Sort
diagnostics by severity. This affects the
order in which signs and virtual text are
- displayed. Options:
+ displayed. When true, higher severities are
+ displayed before lower severities (e.g.
+ ERROR is displayed before WARN). Options:
• reverse: (boolean) Reverse sort order
{namespace} number|nil Update the options for the given
namespace. When omitted, update the global