aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorMathias Fußenegger <mfussenegger@users.noreply.github.com>2020-12-03 20:22:15 +0100
committerGitHub <noreply@github.com>2020-12-03 14:22:15 -0500
commitf5e0f17968eae6770cc0da136d8c9a4b23bc6da2 (patch)
tree0c4b90d830c7472e90a642b1d259b3834e5867dd /runtime/doc
parent5c7141cc710030b1bf77dd524cfcfb0947b58a4c (diff)
downloadrneovim-f5e0f17968eae6770cc0da136d8c9a4b23bc6da2.tar.gz
rneovim-f5e0f17968eae6770cc0da136d8c9a4b23bc6da2.tar.bz2
rneovim-f5e0f17968eae6770cc0da136d8c9a4b23bc6da2.zip
lsp: Change diagnosticg.get_all to return {bufnr: Diagnostic[]} (#13310)
Allows users to associate the diagnostics with the right bufnr.
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/lsp.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt
index 78829fbba1..c8a44dfb75 100644
--- a/runtime/doc/lsp.txt
+++ b/runtime/doc/lsp.txt
@@ -1049,7 +1049,7 @@ get_all() *vim.lsp.diagnostic.get_all()*
Get all diagnostics for all clients
Return: ~
- Diagnostic[]
+ {bufnr:Diagnostic[]}
*vim.lsp.diagnostic.get_count()*
get_count({bufnr}, {severity}, {client_id})