aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/digraph.c
diff options
context:
space:
mode:
authorMatthew Malcomson <hardenedapple@gmail.com>2017-03-25 14:43:19 +0000
committerJustin M. Keyes <justinkz@gmail.com>2017-03-25 15:43:19 +0100
commit098e91400eb06d29c31264ba973ea8a563703059 (patch)
tree66bb3ab14c34d5e1078ff4554636de16c3c6e4d4 /src/nvim/digraph.c
parent0cd829161a3f6aa7ed9737cc1c8462067812c9c5 (diff)
downloadrneovim-098e91400eb06d29c31264ba973ea8a563703059.tar.gz
rneovim-098e91400eb06d29c31264ba973ea8a563703059.tar.bz2
rneovim-098e91400eb06d29c31264ba973ea8a563703059.zip
refactor: Remove allow_keys global (#6346)
* The allow_keys global is unused in nvim, remove it * clint
Diffstat (limited to 'src/nvim/digraph.c')
-rw-r--r--src/nvim/digraph.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/nvim/digraph.c b/src/nvim/digraph.c
index 6ba6e659a6..560205fe7d 100644
--- a/src/nvim/digraph.c
+++ b/src/nvim/digraph.c
@@ -1448,10 +1448,8 @@ int get_digraph(int cmdline)
{
int cc;
no_mapping++;
- allow_keys++;
int c = plain_vgetc();
no_mapping--;
- allow_keys--;
if (c != ESC) {
// ESC cancels CTRL-K
@@ -1468,10 +1466,8 @@ int get_digraph(int cmdline)
add_to_showcmd(c);
}
no_mapping++;
- allow_keys++;
cc = plain_vgetc();
no_mapping--;
- allow_keys--;
if (cc != ESC) {
// ESC cancels CTRL-K