comparison src/map.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 d4e61d61afd9
comparison
equal deleted inserted replaced
26876:601a973ac16c 26877:06a137af96f8
2360 mode = get_map_mode(&which, 0); 2360 mode = get_map_mode(&which, 0);
2361 is_abbr = (int)tv_get_bool(&argvars[1]); 2361 is_abbr = (int)tv_get_bool(&argvars[1]);
2362 2362
2363 if (argvars[2].v_type != VAR_DICT) 2363 if (argvars[2].v_type != VAR_DICT)
2364 { 2364 {
2365 emsg(_(e_dictkey)); 2365 emsg(_(e_key_not_present_in_dictionary));
2366 return; 2366 return;
2367 } 2367 }
2368 d = argvars[2].vval.v_dict; 2368 d = argvars[2].vval.v_dict;
2369 2369
2370 // Get the values in the same order as above in get_maparg(). 2370 // Get the values in the same order as above in get_maparg().