aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorWill Lillis <will.lillis24@gmail.com>2025-03-11 10:22:20 -0400
committerGitHub <noreply@github.com>2025-03-11 07:22:20 -0700
commitdc1888fcfbba1f969ddc01100c466057dccbb58f (patch)
treeb4452e986eb8555b9c5a3172d3b06e349559abcd /runtime/doc
parent8b5a0a00c8cfe776c4227862c3fb32a07d154663 (diff)
downloadrneovim-dc1888fcfbba1f969ddc01100c466057dccbb58f.tar.gz
rneovim-dc1888fcfbba1f969ddc01100c466057dccbb58f.tar.bz2
rneovim-dc1888fcfbba1f969ddc01100c466057dccbb58f.zip
refactor(lsp): rename `on_publish_diagnostics` parameter #32776
* fix(lsp): rename `on_publish_diagnostics` parameter: result->params * fix(colors): specify local var type to address lint failure
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/lsp.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt
index fd0df42fe4..f13a17cbef 100644
--- a/runtime/doc/lsp.txt
+++ b/runtime/doc/lsp.txt
@@ -1750,13 +1750,13 @@ on_diagnostic({error}, {result}, {ctx})
• {ctx} (`lsp.HandlerContext`)
*vim.lsp.diagnostic.on_publish_diagnostics()*
-on_publish_diagnostics({_}, {result}, {ctx})
+on_publish_diagnostics({_}, {params}, {ctx})
|lsp-handler| for the method "textDocument/publishDiagnostics"
See |vim.diagnostic.config()| for configuration options.
Parameters: ~
- • {result} (`lsp.PublishDiagnosticsParams`)
+ • {params} (`lsp.PublishDiagnosticsParams`)
• {ctx} (`lsp.HandlerContext`)