summaryrefslogtreecommitdiffstats
path: root/src/insexpand.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-12-31 22:49:24 +0000
committerBram Moolenaar <Bram@vim.org>2021-12-31 22:49:24 +0000
commit436b5adc9770a2568209dd5ab1f98bd1afc91898 (patch)
tree623dc85ee9a396b16f939f44d38138f882edc229 /src/insexpand.c
parentf1474d801bbdb73406dd3d1f931f515f99e86dfa (diff)
patch 8.2.3961: error messages are spread outv8.2.3961
Problem: Error messages are spread out. Solution: Move more errors to errors.h.
Diffstat (limited to 'src/insexpand.c')
-rw-r--r--src/insexpand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/insexpand.c b/src/insexpand.c
index 3cefb39748..d006135d21 100644
--- a/src/insexpand.c
+++ b/src/insexpand.c
@@ -2746,7 +2746,7 @@ f_complete(typval_T *argvars, typval_T *rettv UNUSED)
return;
if (argvars[1].v_type != VAR_LIST || argvars[1].vval.v_list == NULL)
- emsg(_(e_invarg));
+ emsg(_(e_invalid_argument));
else
{
startcol = (int)tv_get_number_chk(&argvars[0], NULL);