aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2023-06-21 03:36:39 -0700
committerGitHub <noreply@github.com>2023-06-21 03:36:39 -0700
commite27377e33e029a9c2efb282d4c4e51effd76dd88 (patch)
tree2adbd568f3296ab4da25c77219f54152a9f2a3c1 /runtime/doc
parentded01a819ab0e10104aa29ab67cf67e4efd75e04 (diff)
parent59048814fdad7a8769374f03c0137a8b8a2f5539 (diff)
downloadrneovim-e27377e33e029a9c2efb282d4c4e51effd76dd88.tar.gz
rneovim-e27377e33e029a9c2efb282d4c4e51effd76dd88.tar.bz2
rneovim-e27377e33e029a9c2efb282d4c4e51effd76dd88.zip
Merge #24086 LSP ctx.version, report full Nvim version
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/lsp.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt
index 3732ddf2bd..2a781119cf 100644
--- a/runtime/doc/lsp.txt
+++ b/runtime/doc/lsp.txt
@@ -238,6 +238,11 @@ For |lsp-response|, each |lsp-handler| has this signature: >
The parameters used in the original
request which resulted in this handler
call.
+ {version} (number) Document version at time of
+ request. Handlers can compare this to the
+ current document version to check if the
+ response is "stale".
+ See also |b:changedtick|.
{config} (table)
Configuration for the handler.