mirror of
https://github.com/neovim/neovim.git
synced 2025-10-09 19:36:40 +00:00
feat(lua): pass keys before mapping to vim.on_key() callback (#28098)
Keys before mapping (i.e. typed keys) are passed as the second argument.
This commit is contained in:
@@ -1631,7 +1631,7 @@ end:
|
||||
return false;
|
||||
}
|
||||
|
||||
int len = ins_char_typebuf(vgetc_char, vgetc_mod_mask);
|
||||
int len = ins_char_typebuf(vgetc_char, vgetc_mod_mask, true);
|
||||
if (KeyTyped) {
|
||||
ungetchars(len);
|
||||
}
|
||||
|
Reference in New Issue
Block a user