From e4e51c69d740eb7dc4f3bf0479a92ac6442d979a Mon Sep 17 00:00:00 2001 From: Michael Lingelbach Date: Sun, 7 Mar 2021 17:18:32 -0800 Subject: lsp: add incremental text synchronization * Implementation derived from and validated by vim-lsc authored by Nate Bosch --- runtime/doc/lsp.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'runtime/doc') 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 -- cgit