aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/msgpack_rpc
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2019-06-23 20:38:41 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2019-06-30 11:33:01 +0200
commit7030d7daf1f40e5a3963340d1107d7b7a713df5f (patch)
tree81180bef71ec397ba7f089b9af485dbc03a8321e /src/nvim/msgpack_rpc
parent0480e991d2180025ef040629c5dcd0a193055a2e (diff)
downloadrneovim-7030d7daf1f40e5a3963340d1107d7b7a713df5f.tar.gz
rneovim-7030d7daf1f40e5a3963340d1107d7b7a713df5f.tar.bz2
rneovim-7030d7daf1f40e5a3963340d1107d7b7a713df5f.zip
rename: FUNC_API_ASYNC => FUNC_API_FAST
Diffstat (limited to 'src/nvim/msgpack_rpc')
-rw-r--r--src/nvim/msgpack_rpc/channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/msgpack_rpc/channel.c b/src/nvim/msgpack_rpc/channel.c
index c1ad3bd829..81c9f1e3f4 100644
--- a/src/nvim/msgpack_rpc/channel.c
+++ b/src/nvim/msgpack_rpc/channel.c
@@ -344,7 +344,7 @@ static void handle_request(Channel *channel, msgpack_object *request)
evdata->args = args;
evdata->request_id = request_id;
channel_incref(channel);
- if (handler.async) {
+ if (handler.fast) {
bool is_get_mode = handler.fn == handle_nvim_get_mode;
if (is_get_mode && !input_blocking()) {