rename: FUNC_API_ASYNC => FUNC_API_FAST

This commit is contained in:
Björn Linse
2019-06-23 20:38:41 +02:00
parent 0480e991d2
commit 7030d7daf1
7 changed files with 16 additions and 14 deletions

View File

@@ -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()) {