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 76
76
computations. Intensive computations should be done in a separate thread (or
77
77
process), and ` vim.async_call ` can be used to send results back to nvim.
78
78
79
- * Some methods accept an ` async ` keyword argument: ` vim.eval ` , ` vim.command ` ,
79
+ * Some methods accept an ` async_ ` keyword argument: ` vim.eval ` , ` vim.command ` ,
80
80
` 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
82
82
request (which also means that the return value is unavailable).
83
83
84
84
#### Remote (new-style) plugins
@@ -122,7 +122,7 @@ requests without nvim confusing these requests with requests from a synchronous
122
122
handler. To execute an asynchronous handler even when other handlers are
123
123
running, add ` allow_nested=True ` to the decorator. The handler must then not
124
124
make synchronous nvim requests, but it can make asynchronous requests, i e
125
- passing ` async =True` .
125
+ passing ` async_ =True` .
126
126
127
127
You need to run ` :UpdateRemotePlugins ` in nvim for changes in the specifications
128
128
to 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
58
58
Intensive computations should be done in a separate thread (or process),
59
59
and ``vim.async_call `` can be used to send results back to Neovim.
60
60
61
- Some methods accept an ``async `` keyword argument:
61
+ Some methods accept an ``async_ `` keyword argument:
62
62
``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
64
64
(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
42
42
To execute an asynchronous handler even when other handlers are running,
43
43
add ``allow_nested=True `` to the decorator.
44
44
The 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 ``.
46
46
47
47
You need to run ``:UpdateRemotePlugins `` in Neovim for changes in the specifications to have effect.
48
48
For details see ``:help remote-plugin `` in Neovim.
You can’t perform that action at this time.
0 commit comments