aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/normal.c
diff options
context:
space:
mode:
authorMichael Reed <m.reed@mykolab.com>2015-02-17 23:16:06 -0500
committerJustin M. Keyes <justinkz@gmail.com>2015-03-05 19:03:36 -0500
commit4d7b31fd61695e7a1be2b662fe729a81112ef89b (patch)
tree51ed30b51c4de241b0e0543707591a83f6275883 /src/nvim/normal.c
parent49e71641650d07c2cda7756e3a8b88e6ec42c1d8 (diff)
downloadrneovim-4d7b31fd61695e7a1be2b662fe729a81112ef89b.tar.gz
rneovim-4d7b31fd61695e7a1be2b662fe729a81112ef89b.tar.bz2
rneovim-4d7b31fd61695e7a1be2b662fe729a81112ef89b.zip
Macro cleanup: USE_ON_FLY_SCROLL
Diffstat (limited to 'src/nvim/normal.c')
-rw-r--r--src/nvim/normal.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c
index 3906226b2e..c6250297c1 100644
--- a/src/nvim/normal.c
+++ b/src/nvim/normal.c
@@ -473,9 +473,6 @@ normal_cmd (
mapped_len = typebuf_maplen();
State = NORMAL_BUSY;
-#ifdef USE_ON_FLY_SCROLL
- dont_scroll = false; /* allow scrolling here */
-#endif
/* Set v:count here, when called from main() and not a stuffed
* command, so that v:count can be used in an expression mapping
@@ -3607,9 +3604,6 @@ static void nv_zet(cmdarg_T *cap)
return;
n = nchar - '0';
for (;; ) {
-#ifdef USE_ON_FLY_SCROLL
- dont_scroll = true; /* disallow scrolling here */
-#endif
++no_mapping;
++allow_keys; /* no mapping for nchar, but allow key codes */
nchar = plain_vgetc();