mirror of
https://github.com/neovim/neovim.git
synced 2025-09-05 19:08:15 +00:00
docs(lsp): mention ctx.version
Since 643546b82b
the request handler
context (`ctx`) includes a `version` field.
This commit is contained in:
@@ -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.
|
||||
|
||||
|
Reference in New Issue
Block a user