From 4f007a7f651ccd052f299000b49b9a389f713725 Mon Sep 17 00:00:00 2001 From: TJ DeVries Date: Tue, 8 Mar 2022 11:27:11 -0500 Subject: [PATCH] fix: do not pass aucmd to the callback (#17650) --- src/nvim/eval.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nvim/eval.c b/src/nvim/eval.c index 81432fefd3..2ec748a217 100644 --- a/src/nvim/eval.c +++ b/src/nvim/eval.c @@ -7789,7 +7789,7 @@ bool callback_call(Callback *const callback, const int argcount_in, typval_T *co break; case kCallbackLua: - nlua_call_ref(callback->data.luaref, "aucmd", args, false, NULL); + nlua_call_ref(callback->data.luaref, NULL, args, false, NULL); return false; break;