mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07:00
docs(lsp): mention ctx.version
Since 643546b82b
the request handler
context (`ctx`) includes a `version` field.
This commit is contained in:
parent
21b074feb0
commit
59048814fd
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user