diff options
Diffstat (limited to 'runtime/doc/lsp.txt')
-rw-r--r-- | runtime/doc/lsp.txt | 4 |
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 |