aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorMichael Lingelbach <m.j.lbach@gmail.com>2021-03-11 11:43:03 -0800
committerGitHub <noreply@github.com>2021-03-11 11:43:03 -0800
commit1ce899db7d0a81a24fe59faf650f6f13efca69bb (patch)
treec9919d55414ba19be24424721e5b11613466dc02 /runtime/doc
parent5d20fc4fc5c076455a5c4c07dc297f214f43ee2d (diff)
parent16827817bb0d16de0fb0ebca5faebe85d53c40a2 (diff)
downloadrneovim-1ce899db7d0a81a24fe59faf650f6f13efca69bb.tar.gz
rneovim-1ce899db7d0a81a24fe59faf650f6f13efca69bb.tar.bz2
rneovim-1ce899db7d0a81a24fe59faf650f6f13efca69bb.zip
Merge pull request #14106 from mfussenegger/lsp-incremental-sync
lsp: Use incremental sync by default
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/lsp.txt13
1 files changed, 2 insertions, 11 deletions
diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt
index 2b3a0a68f9..061a851157 100644
--- a/runtime/doc/lsp.txt
+++ b/runtime/doc/lsp.txt
@@ -749,15 +749,6 @@ start_client({config}) *vim.lsp.start_client()*
The following parameters describe fields in the {config}
table.
->
-
- -- 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
- end
-<
Parameters: ~
{root_dir} (required, string) Directory where the
@@ -856,8 +847,8 @@ start_client({config}) *vim.lsp.start_client()*
{flags} A table with flags for the client. The
current (experimental) flags are:
• allow_incremental_sync (bool, default
- false): Allow using on_line callbacks
- for lsp
+ true): Allow using incremental sync
+ for buffer edits
Return: ~
Client id. |vim.lsp.get_client_by_id()| Note: client may