feat(eval): declare more "fast" functions #40834

This commit is contained in:
Justin M. Keyes
2026-07-19 10:03:53 -04:00
committed by GitHub
parent f3ba77ab86
commit 239125b8c8
11 changed files with 394 additions and 39 deletions

View File

@@ -1837,7 +1837,7 @@ int vgetc(void)
// Execute Lua on_key callbacks.
kvi_push(on_key_buf, NUL);
if (nlua_execute_on_key(c, on_key_buf.items)) {
if (nlua_exec_on_key(c, on_key_buf.items)) {
// Keys following K_COMMAND/K_LUA/K_PASTE_START aren't normally received by
// vim.on_key() callbacks, so discard them along with the current key.
if (c == K_COMMAND) {