fix: do not pass aucmd to the callback (#17650)

This commit is contained in:
TJ DeVries 2022-03-08 11:27:11 -05:00 committed by GitHub
parent bce1fd2218
commit 4f007a7f65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;