aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
Diffstat (limited to 'editors')
-rw-r--r--editors/vi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/vi.c b/editors/vi.c
index f7f84807d..f5df41636 100644
--- a/editors/vi.c
+++ b/editors/vi.c
@@ -338,7 +338,7 @@ int vi_main(int argc, char **argv)
338 } 338 }
339#endif 339#endif
340 340
341 vi_setops = VI_AUTOINDENT | VI_SHOWMATCH | VI_IGNORECASE | VI_ERR_METHOD; 341 vi_setops = VI_AUTOINDENT | VI_SHOWMATCH | VI_IGNORECASE;
342#if ENABLE_FEATURE_VI_YANKMARK 342#if ENABLE_FEATURE_VI_YANKMARK
343 memset(reg, 0, sizeof(reg)); // init the yank regs 343 memset(reg, 0, sizeof(reg)); // init the yank regs
344#endif 344#endif