mirror of
https://github.com/neovim/neovim.git
synced 2025-09-24 12:08:33 +00:00
revert: "refactor: Remove allow_keys global (#6346)"
This commit is contained in:
@@ -1146,6 +1146,7 @@ void wait_return(int redraw)
|
||||
// Don't do mappings here, we put the character back in the
|
||||
// typeahead buffer.
|
||||
no_mapping++;
|
||||
allow_keys++;
|
||||
|
||||
// Temporarily disable Recording. If Recording is active, the
|
||||
// character will be recorded later, since it will be added to the
|
||||
@@ -1159,6 +1160,7 @@ void wait_return(int redraw)
|
||||
got_int = false;
|
||||
}
|
||||
no_mapping--;
|
||||
allow_keys--;
|
||||
reg_recording = save_reg_recording;
|
||||
scriptout = save_scriptout;
|
||||
|
||||
|
Reference in New Issue
Block a user