aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharlie Groves <charlie.groves@gmail.com>2022-02-16 17:19:41 -0500
committerCharlie Groves <charlie.groves@gmail.com>2022-03-11 11:16:46 -0500
commit70d2ab158320e72542dc2a845858d6f97da86e00 (patch)
tree6647de128af88f46bbd372c9912cc3d2b9302ed8
parent5862176764c7a86d5fdd2685122810e14a3d5b02 (diff)
downloadrneovim-70d2ab158320e72542dc2a845858d6f97da86e00.tar.gz
rneovim-70d2ab158320e72542dc2a845858d6f97da86e00.tar.bz2
rneovim-70d2ab158320e72542dc2a845858d6f97da86e00.zip
fix(remote): make compile again
-rw-r--r--src/nvim/main.c4
1 files 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;