fix(remote): make compile again

This commit is contained in:
Charlie Groves 2022-02-16 17:19:41 -05:00
parent 5862176764
commit 70d2ab1583

View File

@ -836,7 +836,7 @@ static void handle_remote_client(mparm_T *params, int remote_args,
ADD(a, INTEGER_OBJ((int)rc_id)); ADD(a, INTEGER_OBJ((int)rc_id));
ADD(a, ARRAY_OBJ(args)); ADD(a, ARRAY_OBJ(args));
String s = cstr_to_string("return vim._cs_remote(...)"); 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_string(s);
api_free_array(a); api_free_array(a);
@ -859,7 +859,7 @@ static void handle_remote_client(mparm_T *params, int remote_args,
} }
if (should_exit) { if (should_exit) {
mch_exit(0); os_exit(0);
} else { } else {
if (tabbed) { if (tabbed) {
params->window_count = files; params->window_count = files;