summaryrefslogtreecommitdiff
path: root/src/insexpand.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-01 14:19:49 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-01 14:19:49 +0000
commit460ae5dfca31fa627531c263184849976755cf6b (patch)
treed94de6a24285bc10fd62ad4ae9aecb53f9a7e913 /src/insexpand.c
parentb37a65e4bf08c4eec4fa5b81a5efc3945fca44de (diff)
downloadvim-git-460ae5dfca31fa627531c263184849976755cf6b.tar.gz
patch 8.2.3967: error messages are spread outv8.2.3967
Problem: Error messages are spread out. Solution: Move more errors to errors.h.
Diffstat (limited to 'src/insexpand.c')
-rw-r--r--src/insexpand.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/insexpand.c b/src/insexpand.c
index d006135d2..1051ae1ad 100644
--- a/src/insexpand.c
+++ b/src/insexpand.c
@@ -2960,7 +2960,7 @@ f_complete_info(typval_T *argvars, typval_T *rettv)
{
if (argvars[0].v_type != VAR_LIST)
{
- emsg(_(e_listreq));
+ emsg(_(e_list_required));
return;
}
what_list = argvars[0].vval.v_list;
@@ -4696,7 +4696,8 @@ ins_compl_show_statusmsg(void)
{
edit_submode_extra = (compl_cont_status & CONT_ADDING)
&& compl_length > 1
- ? (char_u *)_(e_hitend) : (char_u *)_(e_patnotf);
+ ? (char_u *)_(e_hitend)
+ : (char_u *)_(e_pattern_not_found);
edit_submode_highl = HLF_E;
}