aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/diagnostic.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/doc/diagnostic.txt b/runtime/doc/diagnostic.txt
index 4cf8fef7c4..94ed578823 100644
--- a/runtime/doc/diagnostic.txt
+++ b/runtime/doc/diagnostic.txt
@@ -466,6 +466,9 @@ config({opts}, {namespace}) *vim.diagnostic.config()*
• {namespace} (integer|nil) Update the options for the given namespace.
When omitted, update the global diagnostic options.
+ Return: ~
+ (table|nil) table of current diagnostic config if `opts` is omitted.
+
disable({bufnr}, {namespace}) *vim.diagnostic.disable()*
Disable diagnostics in the given buffer.