mirror of
https://github.com/neovim/neovim.git
synced 2025-09-26 21:18:34 +00:00
fix(event-loop): check if executed register has ended
This commit is contained in:
@@ -2074,7 +2074,7 @@ void vungetc(int c)
|
||||
|
||||
/// When peeking and not getting a character, reg_executing cannot be cleared
|
||||
/// yet, so set a flag to clear it later.
|
||||
static void check_end_reg_executing(bool advance)
|
||||
void check_end_reg_executing(bool advance)
|
||||
{
|
||||
if (reg_executing != 0 && (typebuf.tb_maplen == 0 || pending_end_reg_executing)) {
|
||||
if (advance) {
|
||||
|
Reference in New Issue
Block a user