summaryrefslogtreecommitdiffstats
path: root/src/insexpand.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-05 16:09:06 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-05 16:09:06 +0000
commit677658ae49de31fe2e5b1fa6d93fdfab85a4362e (patch)
treef5f0bbdda081ce1dad3bcaf7f4e6cf3281774cac /src/insexpand.c
parent8e7d9db32b53ca2b1cb7570d2042860bcd1e943f (diff)
patch 8.2.4008: error messages are spread outv8.2.4008
Problem: Error messages are spread out. Solution: Move more error messages 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 09786091f8..5dbd782161 100644
--- a/src/insexpand.c
+++ b/src/insexpand.c
@@ -2864,7 +2864,7 @@ f_complete(typval_T *argvars, typval_T *rettv UNUSED)
if ((State & INSERT) == 0)
{
- emsg(_("E785: complete() can only be used in Insert mode"));
+ emsg(_(e_complete_can_only_be_used_in_insert_mode));
return;
}