diff options
-rw-r--r-- | runtime/doc/lsp.txt | 5 |
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. |