aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorGregory Anders <greg@gpanders.com>2022-01-11 16:44:31 -0700
committerGregory Anders <greg@gpanders.com>2022-01-11 16:46:42 -0700
commitc915571b99d7e1ea99e29b103ca2ad37b5974027 (patch)
tree382ffe7740c43d8f174436e34008af4abd8adcc9 /runtime/doc
parent8a27205d09405b9b040f0122e2adbd22fc29d498 (diff)
downloadrneovim-c915571b99d7e1ea99e29b103ca2ad37b5974027.tar.gz
rneovim-c915571b99d7e1ea99e29b103ca2ad37b5974027.tar.bz2
rneovim-c915571b99d7e1ea99e29b103ca2ad37b5974027.zip
feat(diagnostic): allow retrieving current diagnostic config
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/diagnostic.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/doc/diagnostic.txt b/runtime/doc/diagnostic.txt
index bb36fa46f6..19db3158be 100644
--- a/runtime/doc/diagnostic.txt
+++ b/runtime/doc/diagnostic.txt
@@ -334,8 +334,9 @@ config({opts}, {namespace}) *vim.diagnostic.config()*
that returns any of the above.
Parameters: ~
- {opts} table Configuration table with the following
- keys:
+ {opts} table|nil When omitted or "nil", retrieve the
+ current configuration. Otherwise, a
+ configuration table with the following keys:
• underline: (default true) Use underline for
diagnostics. Options:
• severity: Only underline diagnostics