aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r--src/nvim/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c
index 2c69f1e3bd..cbe53d168f 100644
--- a/src/nvim/main.c
+++ b/src/nvim/main.c
@@ -1365,8 +1365,7 @@ scripterror:
mch_errmsg("\"\n");
mch_exit(2);
}
- if (save_typebuf() == FAIL)
- mch_exit(2); /* out of memory */
+ save_typebuf();
break;
case 't': /* "-t {tag}" */