summaryrefslogtreecommitdiffstats
path: root/src/insexpand.c
diff options
context:
space:
mode:
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);