summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authormatt rice <ratmice+github@gmail.com>2022-05-18 18:10:45 +0000
committerGitHub <noreply@github.com>2022-05-18 20:10:45 +0200
commit7bc8efd77bc99f8e0bdf49b68f11ba9de731b45c (patch)
tree7bb643ff4c5532a943839164df805326c590bda6 /doc
parent3cc44f8f0517739f657ff8b39227fe8f07f9443c (diff)
docs: reflect behavior of diagnostics bufnr nil (#1879)
Diffstat (limited to 'doc')
-rw-r--r--doc/telescope.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/telescope.txt b/doc/telescope.txt
index c6d6483..8e38635 100644
--- a/doc/telescope.txt
+++ b/doc/telescope.txt
@@ -1564,8 +1564,9 @@ builtin.diagnostics({opts}) *telescope.builtin.diagnostics()*
{opts} (table) options to pass to the picker
Options: ~
- {bufnr} (string|number) if nil get diagnostics for all open
- buffers. Use 0 for current buffer
+ {bufnr} (number|nil) Buffer number to get diagnostics
+ from. Use 0 for current buffer or
+ nil for all buffers
{severity} (string|number) filter diagnostics by severity name
(string) or id (number)
{severity_limit} (string|number) keep diagnostics equal or more