aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorMichael Lingelbach <m.j.lbach@gmail.com>2021-03-09 21:03:31 -0800
committerGitHub <noreply@github.com>2021-03-09 21:03:31 -0800
commit0869cbd55c29ee02a2aeecc0fde3d19f09d5002e (patch)
tree0b3478dad8e20136b2e9a782b4f21e7556765783 /runtime/doc
parentcc23c95bccda06c9bbcadd919f4fb2f2545f1151 (diff)
parente4e51c69d740eb7dc4f3bf0479a92ac6442d979a (diff)
downloadrneovim-0869cbd55c29ee02a2aeecc0fde3d19f09d5002e.tar.gz
rneovim-0869cbd55c29ee02a2aeecc0fde3d19f09d5002e.tar.bz2
rneovim-0869cbd55c29ee02a2aeecc0fde3d19f09d5002e.zip
Merge pull request #14079 from mjlbach/incremental_sync
lsp: add incremental text synchronization
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 d2d88fb9ba..24f9dd7a69 100644
--- a/runtime/doc/lsp.txt
+++ b/runtime/doc/lsp.txt
@@ -751,8 +751,8 @@ start_client({config}) *vim.lsp.start_client()*
table.
>
- -- In attach function for the client, you can do:
- local custom_attach = function(client)
+ -- In init function for the client, you can do:
+ local custom_init = function(client)
if client.config.flags then
client.config.flags.allow_incremental_sync = true
end