diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-01-01 14:19:49 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-01 14:19:49 +0000 |
commit | 460ae5dfca31fa627531c263184849976755cf6b (patch) | |
tree | d94de6a24285bc10fd62ad4ae9aecb53f9a7e913 /src/insexpand.c | |
parent | b37a65e4bf08c4eec4fa5b81a5efc3945fca44de (diff) | |
download | vim-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.c | 5 |
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; } |