comparison src/match.c @ 26877:06a137af96f8 v8.2.3967

patch 8.2.3967: error messages are spread out Commit: https://github.com/vim/vim/commit/460ae5dfca31fa627531c263184849976755cf6b Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 1 14:19:49 2022 +0000 patch 8.2.3967: error messages are spread out Problem: Error messages are spread out. Solution: Move more errors to errors.h.
author Bram Moolenaar <Bram@vim.org>
date Sat, 01 Jan 2022 15:30:05 +0100
parents bce848ec8b1b
children 7f150a4936f2
comparison
equal deleted inserted replaced
26876:601a973ac16c 26877:06a137af96f8
934 { 934 {
935 dictitem_T *di; 935 dictitem_T *di;
936 936
937 if (tv->v_type != VAR_DICT) 937 if (tv->v_type != VAR_DICT)
938 { 938 {
939 emsg(_(e_dictreq)); 939 emsg(_(e_dictionary_required));
940 return FAIL; 940 return FAIL;
941 } 941 }
942 942
943 if (dict_find(tv->vval.v_dict, (char_u *)"conceal", -1) != NULL) 943 if (dict_find(tv->vval.v_dict, (char_u *)"conceal", -1) != NULL)
944 *conceal_char = dict_get_string(tv->vval.v_dict, 944 *conceal_char = dict_get_string(tv->vval.v_dict,
1068 || check_for_opt_number_arg(argvars, 1) == FAIL)) 1068 || check_for_opt_number_arg(argvars, 1) == FAIL))
1069 return; 1069 return;
1070 1070
1071 if (argvars[0].v_type != VAR_LIST) 1071 if (argvars[0].v_type != VAR_LIST)
1072 { 1072 {
1073 emsg(_(e_listreq)); 1073 emsg(_(e_list_required));
1074 return; 1074 return;
1075 } 1075 }
1076 win = get_optional_window(argvars, 1); 1076 win = get_optional_window(argvars, 1);
1077 if (win == NULL) 1077 if (win == NULL)
1078 return; 1078 return;