mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 05:28:33 +00:00
vim-patch:9.0.2178: reg_executing() wrong for :normal with range (#26660)
Problem: reg_executing() returns wrong result in :normal with range
when 'showcmd' is set (after 8.2.4705).
Solution: Reset "pending_end_reg_executing" when executing a register.
closes: vim/vim#13707
615202bd0e
This commit is contained in:
@@ -1160,6 +1160,7 @@ int do_execreg(int regname, int colon, int addcr, int silent)
|
||||
}
|
||||
}
|
||||
reg_executing = regname == 0 ? '"' : regname; // disable the 'q' command
|
||||
pending_end_reg_executing = false;
|
||||
}
|
||||
return retval;
|
||||
}
|
||||
|
Reference in New Issue
Block a user