From 70d2ab158320e72542dc2a845858d6f97da86e00 Mon Sep 17 00:00:00 2001 From: Charlie Groves Date: Wed, 16 Feb 2022 17:19:41 -0500 Subject: [PATCH] fix(remote): make compile again --- src/nvim/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nvim/main.c b/src/nvim/main.c index 3a1ca2988a..843ca5f855 100644 --- a/src/nvim/main.c +++ b/src/nvim/main.c @@ -836,7 +836,7 @@ static void handle_remote_client(mparm_T *params, int remote_args, ADD(a, INTEGER_OBJ((int)rc_id)); ADD(a, ARRAY_OBJ(args)); String s = cstr_to_string("return vim._cs_remote(...)"); - Object o = executor_exec_lua_api(s, a, &err); + Object o = nlua_exec(s, a, &err); api_free_string(s); api_free_array(a); @@ -859,7 +859,7 @@ static void handle_remote_client(mparm_T *params, int remote_args, } if (should_exit) { - mch_exit(0); + os_exit(0); } else { if (tabbed) { params->window_count = files;