mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 15:21:47 +00:00
vim-patch:8.2.1000: get error when leaving Ex mode with :visual
Problem: Get error when leaving Ex mode with :visual and a CmdLineEnter
autocommand was used.
Solution: Reset ex_pressedreturn. (closes vim/vim#6293)
158ea175a9
This commit is contained in:
@@ -7305,6 +7305,7 @@ do_exedit(
|
||||
if (exmode_active && (eap->cmdidx == CMD_visual
|
||||
|| eap->cmdidx == CMD_view)) {
|
||||
exmode_active = FALSE;
|
||||
ex_pressedreturn = false;
|
||||
if (*eap->arg == NUL) {
|
||||
/* Special case: ":global/pat/visual\NLvi-commands" */
|
||||
if (global_busy) {
|
||||
|
Reference in New Issue
Block a user