mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 15:21:47 +00:00
refactor: Remove allow_keys global (#6346)
* The allow_keys global is unused in nvim, remove it * clint
This commit is contained in:

committed by
Justin M. Keyes

parent
0cd829161a
commit
098e91400e
@@ -3577,11 +3577,9 @@ static buf_T *do_sub(exarg_T *eap, proftime_T timeout)
|
||||
ui_cursor_goto(msg_row, msg_col);
|
||||
RedrawingDisabled = temp;
|
||||
|
||||
++no_mapping; /* don't map this key */
|
||||
++allow_keys; /* allow special keys */
|
||||
no_mapping++; // don't map this key
|
||||
typed = plain_vgetc();
|
||||
--allow_keys;
|
||||
--no_mapping;
|
||||
no_mapping--;
|
||||
|
||||
/* clear the question */
|
||||
msg_didout = FALSE; /* don't scroll up */
|
||||
|
Reference in New Issue
Block a user