File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 7676 computations. Intensive computations should be done in a separate thread (or
7777 process), and ` vim.async_call ` can be used to send results back to nvim.
7878
79- * Some methods accept an ` async ` keyword argument: ` vim.eval ` , ` vim.command ` ,
79+ * Some methods accept an ` async_ ` keyword argument: ` vim.eval ` , ` vim.command ` ,
8080 ` vim.request ` as well as the ` vim.funcs ` and ` vim.api ` wrappers. When
81- ` async =True` is passed the client will not wait for nvim to complete the
81+ ` async_ =True` is passed the client will not wait for nvim to complete the
8282 request (which also means that the return value is unavailable).
8383
8484#### Remote (new-style) plugins
@@ -122,7 +122,7 @@ requests without nvim confusing these requests with requests from a synchronous
122122handler. To execute an asynchronous handler even when other handlers are
123123running, add ` allow_nested=True ` to the decorator. The handler must then not
124124make synchronous nvim requests, but it can make asynchronous requests, i e
125- passing ` async =True` .
125+ passing ` async_ =True` .
126126
127127You need to run ` :UpdateRemotePlugins ` in nvim for changes in the specifications
128128to have effect. For details see ` :help remote-plugin ` in nvim.
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ Note that this code will still block the plugin host if it does long-running com
5858Intensive computations should be done in a separate thread (or process),
5959and ``vim.async_call `` can be used to send results back to Neovim.
6060
61- Some methods accept an ``async `` keyword argument:
61+ Some methods accept an ``async_ `` keyword argument:
6262``vim.eval ``, ``vim.command ``, ``vim.request `` as well as the ``vim.funcs `` and ``vim.api `` wrappers.
63- When ``async =True `` is passed the client will not wait for Neovim to complete the request
63+ When ``async_ =True `` is passed the client will not wait for Neovim to complete the request
6464(which also means that the return value is unavailable).
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ This ensures that async handlers can call requests without Neovim confusing thes
4242To execute an asynchronous handler even when other handlers are running,
4343add ``allow_nested=True `` to the decorator.
4444The handler must then not make synchronous Neovim requests,
45- but it can make asynchronous requests, i.e. passing ``async =True ``.
45+ but it can make asynchronous requests, i.e. passing ``async_ =True ``.
4646
4747You need to run ``:UpdateRemotePlugins `` in Neovim for changes in the specifications to have effect.
4848For details see ``:help remote-plugin `` in Neovim.
You can’t perform that action at this time.
0 commit comments