aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorAshkan Kiani <ashkan.k.kiani@gmail.com>2019-11-20 16:09:03 -0800
committerAshkan Kiani <ashkan.k.kiani@gmail.com>2019-11-20 16:09:03 -0800
commit03eb88848c2bea6c0c1da7acc97754d6f47b5118 (patch)
treebe0cf5b8dd40c623917abe1f2b0242d05cf26368 /runtime/doc
parenta4b7004f489030d9ee7e3bbfc156ab540744279b (diff)
downloadrneovim-03eb88848c2bea6c0c1da7acc97754d6f47b5118.tar.gz
rneovim-03eb88848c2bea6c0c1da7acc97754d6f47b5118.tar.bz2
rneovim-03eb88848c2bea6c0c1da7acc97754d6f47b5118.zip
Change callback resolution to be dynamic.
This allows default_callbacks to be specified after client creation to be considered. Also it simplifies the code.
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 8bafe0245f..f4819dc6f8 100644
--- a/runtime/doc/lsp.txt
+++ b/runtime/doc/lsp.txt
@@ -178,8 +178,8 @@ vim.lsp.start_client({config})
`callbacks`
A {table} of whose keys are language server method names and the values
are `function(err, method, params, client_id)` See |lsp-callbacks| for
- more. This will be combined with |lsp-builtin-callbacks| to provide
- defaults.
+ more. This will be combined with |lsp-default-callbacks| to resolve
+ the callbacks for a client as a fallback.
`init_options`
A {table} of values to pass in the initialization request as