mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 14:38:32 +00:00
revert: "refactor: Remove allow_keys global (#6346)"
This commit is contained in:
@@ -1335,8 +1335,10 @@ static int command_line_execute(VimState *state, int key)
|
||||
// mode when 'insertmode' is set, CTRL-\ e prompts for an expression.
|
||||
if (s->c == Ctrl_BSL) {
|
||||
no_mapping++;
|
||||
allow_keys++;
|
||||
s->c = plain_vgetc();
|
||||
no_mapping--;
|
||||
allow_keys--;
|
||||
// CTRL-\ e doesn't work when obtaining an expression, unless it
|
||||
// is in a mapping.
|
||||
if (s->c != Ctrl_N
|
||||
|
Reference in New Issue
Block a user