docs: reflect behavior of diagnostics bufnr nil (#1879)

This commit is contained in:
matt rice
2022-05-18 18:10:45 +00:00
committed by GitHub
parent 3cc44f8f05
commit 7bc8efd77b
2 changed files with 4 additions and 3 deletions

View File

@@ -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