aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorMichael Lingelbach <m.j.lbach@gmail.com>2021-03-07 17:18:32 -0800
committerMichael Lingelbach <m.j.lbach@gmail.com>2021-03-09 20:14:08 -0800
commite4e51c69d740eb7dc4f3bf0479a92ac6442d979a (patch)
tree2c57ee29c483355ba631234a7fd7ea241c8d45dd /runtime/doc
parentc12ea02e0b5d465e2c4b7d8bba028d069bdf7008 (diff)
downloadrneovim-e4e51c69d740eb7dc4f3bf0479a92ac6442d979a.tar.gz
rneovim-e4e51c69d740eb7dc4f3bf0479a92ac6442d979a.tar.bz2
rneovim-e4e51c69d740eb7dc4f3bf0479a92ac6442d979a.zip
lsp: add incremental text synchronization
* Implementation derived from and validated by vim-lsc authored by Nate Bosch
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