xref: /vim-8.2.3635/src/errors.h (revision 2286304c)
1 /* vi:set ts=8 sts=4 sw=4 noet:
2  *
3  * VIM - Vi IMproved	by Bram Moolenaar
4  *
5  * Do ":help uganda"  in Vim to read copying and usage conditions.
6  * Do ":help credits" in Vim to see a list of people who contributed.
7  */
8 
9 /*
10  * Definition of error messages, sorted on error number.
11  */
12 
13 EXTERN char e_backslash_should_be_followed_by[]
14 	INIT(= N_("E10: \\ should be followed by /, ? or &"));
15 #ifdef FEAT_CMDWIN
16 EXTERN char e_invalid_in_cmdline_window[]
17 	INIT(= N_("E11: Invalid in command-line window; <CR> executes, CTRL-C quits"));
18 #endif
19 EXTERN char e_command_not_allowed_from_vimrc_in_current_dir_or_tag_search[]
20 	INIT(= N_("E12: Command not allowed from exrc/vimrc in current dir or tag search"));
21 EXTERN char e_file_exists[]
22 	INIT(= N_("E13: File exists (add ! to override)"));
23 #ifdef FEAT_EVAL
24 EXTERN char e_invalid_expression_str[]
25 	INIT(= N_("E15: Invalid expression: \"%s\""));
26 #endif
27 EXTERN char e_invalid_range[]
28 	INIT(= N_("E16: Invalid range"));
29 #if defined(UNIX) || defined(FEAT_SYN_HL) || defined(FEAT_SPELL)
30 EXTERN char e_src_is_directory[]
31 	INIT(= N_("E17: \"%s\" is a directory"));
32 #endif
33 #ifdef FEAT_EVAL
34 EXTERN char e_unexpected_characters_in_let[]
35 	INIT(= N_("E18: Unexpected characters in :let"));
36 EXTERN char e_unexpected_characters_in_assignment[]
37 	INIT(= N_("E18: Unexpected characters in assignment"));
38 #endif
39 EXTERN char e_mark_has_invalid_line_number[]
40 	INIT(= N_("E19: Mark has invalid line number"));
41 EXTERN char e_mark_not_set[]
42 	INIT(= N_("E20: Mark not set"));
43 EXTERN char e_cannot_make_changes_modifiable_is_off[]
44 	INIT(= N_("E21: Cannot make changes, 'modifiable' is off"));
45 EXTERN char e_scripts_nested_too_deep[]
46 	INIT(= N_("E22: Scripts nested too deep"));
47 EXTERN char e_no_alternate_file[]
48 	INIT(= N_("E23: No alternate file"));
49 EXTERN char e_no_such_abbreviation[]
50 	INIT(= N_("E24: No such abbreviation"));
51 #if !defined(FEAT_GUI) || defined(VIMDLL)
52 EXTERN char e_gui_cannot_be_used_not_enabled_at_compile_time[]
53 	INIT(= N_("E25: GUI cannot be used: Not enabled at compile time"));
54 #endif
55 #ifndef FEAT_RIGHTLEFT
56 EXTERN char e_hebrew_cannot_be_used_not_enabled_at_compile_time[]
57 	INIT(= N_("E26: Hebrew cannot be used: Not enabled at compile time\n"));
58 #endif
59 EXTERN char e_farsi_support_has_been_removed[]
60 	INIT(= N_("E27: Farsi support has been removed\n"));
61 #if defined(FEAT_SEARCH_EXTRA) || defined(FEAT_SYN_HL)
62 EXTERN char e_no_such_highlight_group_name_str[]
63 	INIT(= N_("E28: No such highlight group name: %s"));
64 #endif
65 EXTERN char e_no_inserted_text_yet[]
66 	INIT(= N_("E29: No inserted text yet"));
67 EXTERN char e_no_previous_command_line[]
68 	INIT(= N_("E30: No previous command line"));
69 EXTERN char e_no_such_mapping[]
70 	INIT(= N_("E31: No such mapping"));
71 EXTERN char e_no_file_name[]
72 	INIT(= N_("E32: No file name"));
73 EXTERN char e_no_previous_substitute_regular_expression[]
74 	INIT(= N_("E33: No previous substitute regular expression"));
75 EXTERN char e_no_previous_command[]
76 	INIT(= N_("E34: No previous command"));
77 EXTERN char e_no_previous_regular_expression[]
78 	INIT(= N_("E35: No previous regular expression"));
79 EXTERN char e_not_enough_room[]
80 	INIT(= N_("E36: Not enough room"));
81 EXTERN char e_no_write_since_last_change[]
82 	INIT(= N_("E37: No write since last change"));
83 EXTERN char e_no_write_since_last_change_add_bang_to_override[]
84 	INIT(= N_("E37: No write since last change (add ! to override)"));
85 EXTERN char e_null_argument[]
86 	INIT(= N_("E38: Null argument"));
87 #if defined(FEAT_DIGRAPHS) || defined(FEAT_TIMERS) || defined(FEAT_EVAL)
88 EXTERN char e_number_expected[]
89 	INIT(= N_("E39: Number expected"));
90 #endif
91 #ifdef FEAT_QUICKFIX
92 EXTERN char e_cant_open_errorfile_str[]
93 	INIT(= N_("E40: Can't open errorfile %s"));
94 #endif
95 EXTERN char e_out_of_memory[]
96 	INIT(= N_("E41: Out of memory!"));
97 #ifdef FEAT_QUICKFIX
98 EXTERN char e_no_errors[]
99 	INIT(= N_("E42: No Errors"));
100 #endif
101 EXTERN char e_damaged_match_string[]
102 	INIT(= N_("E43: Damaged match string"));
103 EXTERN char e_corrupted_regexp_program[]
104 	INIT(= N_("E44: Corrupted regexp program"));
105 EXTERN char e_readonly_option_is_set_add_bang_to_override[]
106 	INIT(= N_("E45: 'readonly' option is set (add ! to override)"));
107 #ifdef FEAT_EVAL
108 EXTERN char e_cannot_change_readonly_variable_str[]
109 	INIT(= N_("E46: Cannot change read-only variable \"%s\""));
110 #endif
111 #ifdef FEAT_QUICKFIX
112 EXTERN char e_error_while_reading_errorfile[]
113 	INIT(= N_("E47: Error while reading errorfile"));
114 #endif
115 #ifdef HAVE_SANDBOX
116 EXTERN char e_not_allowed_in_sandbox[]
117 	INIT(= N_("E48: Not allowed in sandbox"));
118 #endif
119 EXTERN char e_invalid_scroll_size[]
120 	INIT(= N_("E49: Invalid scroll size"));
121 EXTERN char e_too_many_z[]
122 	INIT(= N_("E50: Too many \\z("));
123 EXTERN char e_too_many_str_open[]
124 	INIT(= N_("E51: Too many %s("));
125 EXTERN char e_unmatched_z[]
126 	INIT(= N_("E52: Unmatched \\z("));
127 EXTERN char e_unmatched_str_percent_open[]
128 	INIT(= N_("E53: Unmatched %s%%("));
129 EXTERN char e_unmatched_str_open[]
130 	INIT(= N_("E54: Unmatched %s("));
131 EXTERN char e_unmatched_str_close[]
132 	INIT(= N_("E55: Unmatched %s)"));
133 EXTERN char e_invalid_character_after_str_at[]
134 	INIT(= N_("E59: invalid character after %s@"));
135 EXTERN char e_too_many_complex_str_curly[]
136 	INIT(= N_("E60: Too many complex %s{...}s"));
137 
138 #ifdef FEAT_EVAL
139 EXTERN char e_undefined_variable_str[]
140 	INIT(= N_("E121: Undefined variable: %s"));
141 EXTERN char e_undefined_variable_char_str[]
142 	INIT(= N_("E121: Undefined variable: %c:%s"));
143 #endif
144 EXTERN char e_no_such_user_defined_command_str[]
145 	INIT(= N_("E184: No such user-defined command: %s"));
146 #ifndef FEAT_DIGRAPHS
147 EXTERN char e_no_digraphs_version[]
148 	INIT(= N_("E196: No digraphs in this version"));
149 #endif
150 EXTERN char e_ambiguous_use_of_user_defined_command[]
151 	INIT(= N_("E464: Ambiguous use of user-defined command"));
152 EXTERN char e_invalid_command[]
153 	INIT(= N_("E476: Invalid command"));
154 #ifdef FEAT_EVAL
155 EXTERN char e_invalid_command_str[]
156 	INIT(= N_("E476: Invalid command: %s"));
157 EXTERN char e_list_value_has_more_items_than_targets[]
158 	INIT(= N_("E710: List value has more items than targets"));
159 EXTERN char e_list_value_does_not_have_enough_items[]
160 	INIT(= N_("E711: List value does not have enough items"));
161 EXTERN char e_cannot_slice_dictionary[]
162 	INIT(= N_("E719: Cannot slice a Dictionary"));
163 EXTERN char e_assert_fails_second_arg[]
164 	INIT(= N_("E856: \"assert_fails()\" second argument must be a string or a list with one or two strings"));
165 EXTERN char e_using_invalid_value_as_string_str[]
166 	INIT(= N_("E908: using an invalid value as a String: %s"));
167 EXTERN char e_cannot_index_special_variable[]
168 	INIT(= N_("E909: Cannot index a special variable"));
169 #endif
170 EXTERN char e_command_not_supported_in_vim9_script_missing_var_str[]
171 	INIT(= N_("E1100: Command not supported in Vim9 script (missing :var?): %s"));
172 #ifdef FEAT_EVAL
173 EXTERN char e_variable_not_found_str[]
174 	INIT(= N_("E1001: Variable not found: %s"));
175 EXTERN char e_syntax_error_at_str[]
176 	INIT(= N_("E1002: Syntax error at %s"));
177 EXTERN char e_missing_return_value[]
178 	INIT(= N_("E1003: Missing return value"));
179 EXTERN char e_white_space_required_before_and_after_str_at_str[]
180 	INIT(= N_("E1004: White space required before and after '%s' at \"%s\""));
181 EXTERN char e_too_many_argument_types[]
182 	INIT(= N_("E1005: Too many argument types"));
183 EXTERN char e_str_is_used_as_argument[]
184 	INIT(= N_("E1006: %s is used as an argument"));
185 EXTERN char e_mandatory_argument_after_optional_argument[]
186 	INIT(= N_("E1007: Mandatory argument after optional argument"));
187 EXTERN char e_missing_type[]
188 	INIT(= N_("E1008: Missing <type>"));
189 EXTERN char e_missing_gt_after_type[]
190 	INIT(= N_("E1009: Missing > after type"));
191 EXTERN char e_type_not_recognized_str[]
192 	INIT(= N_("E1010: Type not recognized: %s"));
193 EXTERN char e_name_too_long_str[]
194 	INIT(= N_("E1011: Name too long: %s"));
195 EXTERN char e_type_mismatch_expected_str_but_got_str[]
196 	INIT(= N_("E1012: Type mismatch; expected %s but got %s"));
197 EXTERN char e_type_mismatch_expected_str_but_got_str_in_str[]
198 	INIT(= N_("E1012: Type mismatch; expected %s but got %s in %s"));
199 EXTERN char e_argument_nr_type_mismatch_expected_str_but_got_str[]
200 	INIT(= N_("E1013: Argument %d: type mismatch, expected %s but got %s"));
201 EXTERN char e_argument_nr_type_mismatch_expected_str_but_got_str_in_str[]
202 	INIT(= N_("E1013: Argument %d: type mismatch, expected %s but got %s in %s"));
203 EXTERN char e_invalid_key_str[]
204 	INIT(= N_("E1014: Invalid key: %s"));
205 EXTERN char e_name_expected_str[]
206 	INIT(= N_("E1015: Name expected: %s"));
207 EXTERN char e_cannot_declare_a_scope_variable[]
208 	INIT(= N_("E1016: Cannot declare a %s variable: %s"));
209 EXTERN char e_cannot_declare_an_environment_variable[]
210 	INIT(= N_("E1016: Cannot declare an environment variable: %s"));
211 EXTERN char e_variable_already_declared[]
212 	INIT(= N_("E1017: Variable already declared: %s"));
213 EXTERN char e_cannot_assign_to_constant[]
214 	INIT(= N_("E1018: Cannot assign to a constant: %s"));
215 EXTERN char e_can_only_concatenate_to_string[]
216 	INIT(= N_("E1019: Can only concatenate to string"));
217 EXTERN char e_cannot_use_operator_on_new_variable[]
218 	INIT(= N_("E1020: Cannot use an operator on a new variable: %s"));
219 EXTERN char e_const_requires_a_value[]
220 	INIT(= N_("E1021: Const requires a value"));
221 EXTERN char e_type_or_initialization_required[]
222 	INIT(= N_("E1022: Type or initialization required"));
223 EXTERN char e_using_number_as_bool_nr[]
224 	INIT(= N_("E1023: Using a Number as a Bool: %lld"));
225 EXTERN char e_using_number_as_string[]
226 	INIT(= N_("E1024: Using a Number as a String"));
227 EXTERN char e_using_rcurly_outside_if_block_scope[]
228 	INIT(= N_("E1025: Using } outside of a block scope"));
229 #endif
230 EXTERN char e_missing_rcurly[]
231 	INIT(= N_("E1026: Missing }"));
232 #ifdef FEAT_EVAL
233 EXTERN char e_missing_return_statement[]
234 	INIT(= N_("E1027: Missing return statement"));
235 EXTERN char e_compiling_def_function_failed[]
236 	INIT(= N_("E1028: Compiling :def function failed"));
237 EXTERN char e_expected_str_but_got_str[]
238 	INIT(= N_("E1029: Expected %s but got %s"));
239 EXTERN char e_using_string_as_number_str[]
240 	INIT(= N_("E1030: Using a String as a Number: \"%s\""));
241 EXTERN char e_cannot_use_void_value[]
242 	INIT(= N_("E1031: Cannot use void value"));
243 EXTERN char e_missing_catch_or_finally[]
244 	INIT(= N_("E1032: Missing :catch or :finally"));
245 EXTERN char e_catch_unreachable_after_catch_all[]
246 	INIT(= N_("E1033: Catch unreachable after catch-all"));
247 EXTERN char e_cannot_use_reserved_name[]
248 	INIT(= N_("E1034: Cannot use reserved name %s"));
249 EXTERN char e_percent_requires_number_arguments[]
250 	INIT(= N_("E1035: % requires number arguments"));
251 EXTERN char e_char_requires_number_or_float_arguments[]
252 	INIT(= N_("E1036: %c requires number or float arguments"));
253 EXTERN char e_cannot_use_str_with_str[]
254 	INIT(= N_("E1037: Cannot use \"%s\" with %s"));
255 EXTERN char e_vim9script_can_only_be_used_in_script[]
256 	INIT(= N_("E1038: \"vim9script\" can only be used in a script"));
257 EXTERN char e_vim9script_must_be_first_command_in_script[]
258 	INIT(= N_("E1039: \"vim9script\" must be the first command in a script"));
259 #endif
260 EXTERN char e_cannot_use_scriptversion_after_vim9script[]
261 	INIT(= N_("E1040: Cannot use :scriptversion after :vim9script"));
262 #ifdef FEAT_EVAL
263 EXTERN char e_redefining_script_item_str[]
264 	INIT(= N_("E1041: Redefining script item %s"));
265 EXTERN char e_export_can_only_be_used_in_vim9script[]
266 	INIT(= N_("E1042: Export can only be used in vim9script"));
267 EXTERN char e_invalid_command_after_export[]
268 	INIT(= N_("E1043: Invalid command after :export"));
269 EXTERN char e_export_with_invalid_argument[]
270 	INIT(= N_("E1044: Export with invalid argument"));
271 EXTERN char e_missing_as_after_star[]
272 	INIT(= N_("E1045: Missing \"as\" after *"));
273 EXTERN char e_missing_comma_in_import[]
274 	INIT(= N_("E1046: Missing comma in import"));
275 EXTERN char e_syntax_error_in_import_str[]
276 	INIT(= N_("E1047: Syntax error in import: %s"));
277 EXTERN char e_item_not_found_in_script_str[]
278 	INIT(= N_("E1048: Item not found in script: %s"));
279 EXTERN char e_item_not_exported_in_script_str[]
280 	INIT(= N_("E1049: Item not exported in script: %s"));
281 EXTERN char e_colon_required_before_range_str[]
282 	INIT(= N_("E1050: Colon required before a range: %s"));
283 EXTERN char e_wrong_argument_type_for_plus[]
284 	INIT(= N_("E1051: Wrong argument type for +"));
285 EXTERN char e_cannot_declare_an_option[]
286 	INIT(= N_("E1052: Cannot declare an option: %s"));
287 EXTERN char e_could_not_import_str[]
288 	INIT(= N_("E1053: Could not import \"%s\""));
289 EXTERN char e_variable_already_declared_in_script_str[]
290 	INIT(= N_("E1054: Variable already declared in the script: %s"));
291 EXTERN char e_missing_name_after_dots[]
292 	INIT(= N_("E1055: Missing name after ..."));
293 EXTERN char e_expected_type_str[]
294 	INIT(= N_("E1056: Expected a type: %s"));
295 EXTERN char e_missing_enddef[]
296 	INIT(= N_("E1057: Missing :enddef"));
297 EXTERN char e_function_nesting_too_deep[]
298 	INIT(= N_("E1058: Function nesting too deep"));
299 EXTERN char e_no_white_space_allowed_before_colon_str[]
300 	INIT(= N_("E1059: No white space allowed before colon: %s"));
301 EXTERN char e_expected_dot_after_name_str[]
302 	INIT(= N_("E1060: Expected dot after name: %s"));
303 EXTERN char e_cannot_find_function_str[]
304 	INIT(= N_("E1061: Cannot find function %s"));
305 EXTERN char e_cannot_index_number[]
306 	INIT(= N_("E1062: Cannot index a Number"));
307 EXTERN char e_type_mismatch_for_v_variable[]
308 	INIT(= N_("E1063: Type mismatch for v: variable"));
309 // E1064 unused
310 // E1065 unused
311 EXTERN char e_cannot_declare_a_register_str[]
312 	INIT(= N_("E1066: Cannot declare a register: %s"));
313 EXTERN char e_separator_mismatch_str[]
314 	INIT(= N_("E1067: Separator mismatch: %s"));
315 EXTERN char e_no_white_space_allowed_before_str_str[]
316 	INIT(= N_("E1068: No white space allowed before '%s': %s"));
317 EXTERN char e_white_space_required_after_str_str[]
318 	INIT(= N_("E1069: White space required after '%s': %s"));
319 EXTERN char e_missing_from[]
320 	INIT(= N_("E1070: Missing \"from\""));
321 EXTERN char e_invalid_string_after_from[]
322 	INIT(= N_("E1071: Invalid string after \"from\""));
323 EXTERN char e_cannot_compare_str_with_str[]
324 	INIT(= N_("E1072: Cannot compare %s with %s"));
325 EXTERN char e_name_already_defined_str[]
326 	INIT(= N_("E1073: Name already defined: %s"));
327 EXTERN char e_no_white_space_allowed_after_dot[]
328 	INIT(= N_("E1074: No white space allowed after dot"));
329 EXTERN char e_namespace_not_supported_str[]
330 	INIT(= N_("E1075: Namespace not supported: %s"));
331 EXTERN char e_this_vim_is_not_compiled_with_float_support[]
332 	INIT(= N_("E1076: This Vim is not compiled with float support"));
333 EXTERN char e_missing_argument_type_for_str[]
334 	INIT(= N_("E1077: Missing argument type for %s"));
335 // E1078 unused
336 // E1079 unused
337 // E1080 unused
338 EXTERN char e_cannot_unlet_str[]
339 	INIT(= N_("E1081: Cannot unlet %s"));
340 EXTERN char e_cannot_use_namespaced_variable[]
341 	INIT(= N_("E1082: Cannot use a namespaced variable: %s"));
342 EXTERN char e_missing_backtick[]
343 	INIT(= N_("E1083: Missing backtick"));
344 EXTERN char e_cannot_delete_vim9_script_function_str[]
345 	INIT(= N_("E1084: Cannot delete Vim9 script function %s"));
346 EXTERN char e_not_callable_type_str[]
347 	INIT(= N_("E1085: Not a callable type: %s"));
348 EXTERN char e_cannot_use_function_inside_def[]
349 	INIT(= N_("E1086: Cannot use :function inside :def"));
350 EXTERN char e_cannot_use_index_when_declaring_variable[]
351 	INIT(= N_("E1087: Cannot use an index when declaring a variable"));
352 // E1088 unused
353 EXTERN char e_unknown_variable_str[]
354 	INIT(= N_("E1089: Unknown variable: %s"));
355 EXTERN char e_cannot_assign_to_argument[]
356 	INIT(= N_("E1090: Cannot assign to argument %s"));
357 EXTERN char e_function_is_not_compiled_str[]
358 	INIT(= N_("E1091: Function is not compiled: %s"));
359 EXTERN char e_cannot_use_list_for_declaration[]
360 	INIT(= N_("E1092: Cannot use a list for a declaration"));
361 EXTERN char e_expected_nr_items_but_got_nr[]
362 	INIT(= N_("E1093: Expected %d items but got %d"));
363 EXTERN char e_import_can_only_be_used_in_script[]
364 	INIT(= N_("E1094: Import can only be used in a script"));
365 EXTERN char e_unreachable_code_after_return[]
366 	INIT(= N_("E1095: Unreachable code after :return"));
367 EXTERN char e_returning_value_in_function_without_return_type[]
368 	INIT(= N_("E1096: Returning a value in a function without a return type"));
369 EXTERN char e_line_incomplete[]
370 	INIT(= N_("E1097: Line incomplete"));
371 EXTERN char e_string_list_or_blob_required[]
372 	INIT(= N_("E1098: String, List or Blob required"));
373 EXTERN char e_unknown_error_while_executing_str[]
374 	INIT(= N_("E1099: Unknown error while executing %s"));
375 EXTERN char e_cannot_declare_script_variable_in_function[]
376 	INIT(= N_("E1101: Cannot declare a script variable in a function: %s"));
377 EXTERN char e_lambda_function_not_found_str[]
378 	INIT(= N_("E1102: Lambda function not found: %s"));
379 EXTERN char e_dictionary_not_set[]
380 	INIT(= N_("E1103: Dictionary not set"));
381 EXTERN char e_missing_gt[]
382 	INIT(= N_("E1104: Missing >"));
383 EXTERN char e_cannot_convert_str_to_string[]
384 	INIT(= N_("E1105: Cannot convert %s to string"));
385 EXTERN char e_one_argument_too_many[]
386 	INIT(= N_("E1106: One argument too many"));
387 EXTERN char e_nr_arguments_too_many[]
388 	INIT(= N_("E1106: %d arguments too many"));
389 EXTERN char e_string_list_dict_or_blob_required[]
390 	INIT(= N_("E1107: String, List, Dict or Blob required"));
391 EXTERN char e_item_not_found_str[]
392 	INIT(= N_("E1108: Item not found: %s"));
393 EXTERN char e_list_item_nr_is_not_list[]
394 	INIT(= N_("E1109: List item %d is not a List"));
395 EXTERN char e_list_item_nr_does_not_contain_3_numbers[]
396 	INIT(= N_("E1110: List item %d does not contain 3 numbers"));
397 EXTERN char e_list_item_nr_range_invalid[]
398 	INIT(= N_("E1111: List item %d range invalid"));
399 EXTERN char e_list_item_nr_cell_width_invalid[]
400 	INIT(= N_("E1112: List item %d cell width invalid"));
401 EXTERN char e_overlapping_ranges_for_nr[]
402 	INIT(= N_("E1113: Overlapping ranges for 0x%lx"));
403 EXTERN char e_only_values_of_0x100_and_higher_supported[]
404 	INIT(= N_("E1114: Only values of 0x100 and higher supported"));
405 EXTERN char e_assert_fails_fourth_argument[]
406 	INIT(= N_("E1115: \"assert_fails()\" fourth argument must be a number"));
407 EXTERN char e_assert_fails_fifth_argument[]
408 	INIT(= N_("E1116: \"assert_fails()\" fifth argument must be a string"));
409 EXTERN char e_cannot_use_bang_with_nested_def[]
410 	INIT(= N_("E1117: Cannot use ! with nested :def"));
411 EXTERN char e_cannot_change_list[]
412 	INIT(= N_("E1118: Cannot change list"));
413 EXTERN char e_cannot_change_list_item[]
414 	INIT(= N_("E1119: Cannot change list item"));
415 EXTERN char e_cannot_change_dict[]
416 	INIT(= N_("E1120: Cannot change dict"));
417 EXTERN char e_cannot_change_dict_item[]
418 	INIT(= N_("E1121: Cannot change dict item"));
419 EXTERN char e_variable_is_locked_str[]
420 	INIT(= N_("E1122: Variable is locked: %s"));
421 EXTERN char e_missing_comma_before_argument_str[]
422 	INIT(= N_("E1123: Missing comma before argument: %s"));
423 EXTERN char e_str_cannot_be_used_in_legacy_vim_script[]
424 	INIT(= N_("E1124: \"%s\" cannot be used in legacy Vim script"));
425 EXTERN char e_final_requires_a_value[]
426 	INIT(= N_("E1125: Final requires a value"));
427 EXTERN char e_cannot_use_let_in_vim9_script[]
428 	INIT(= N_("E1126: Cannot use :let in Vim9 script"));
429 EXTERN char e_missing_name_after_dot[]
430 	INIT(= N_("E1127: Missing name after dot"));
431 EXTERN char e_endblock_without_block[]
432 	INIT(= N_("E1128: } without {"));
433 EXTERN char e_throw_with_empty_string[]
434 	INIT(= N_("E1129: Throw with empty string"));
435 EXTERN char e_cannot_add_to_null_list[]
436 	INIT(= N_("E1130: Cannot add to null list"));
437 EXTERN char e_cannot_add_to_null_blob[]
438 	INIT(= N_("E1131: Cannot add to null blob"));
439 EXTERN char e_missing_function_argument[]
440 	INIT(= N_("E1132: Missing function argument"));
441 EXTERN char e_cannot_extend_null_dict[]
442 	INIT(= N_("E1133: Cannot extend a null dict"));
443 EXTERN char e_cannot_extend_null_list[]
444 	INIT(= N_("E1134: Cannot extend a null list"));
445 EXTERN char e_using_string_as_bool_str[]
446 	INIT(= N_("E1135: Using a String as a Bool: \"%s\""));
447 #endif
448 EXTERN char e_cmd_mapping_must_end_with_cr[]
449 	INIT(=N_("E1135: <Cmd> mapping must end with <CR>"));
450 EXTERN char e_cmd_mapping_must_end_with_cr_before_second_cmd[]
451 	INIT(=N_("E1136: <Cmd> mapping must end with <CR> before second <Cmd>"));
452 EXTERN char e_cmd_maping_must_not_include_str_key[]
453 	INIT(= N_("E1137: <Cmd> mapping must not include %s key"));
454 EXTERN char e_using_bool_as_number[]
455 	INIT(= N_("E1138: Using a Bool as a Number"));
456 EXTERN char e_missing_matching_bracket_after_dict_key[]
457 	INIT(= N_("E1139: Missing matching bracket after dict key"));
458 EXTERN char e_for_argument_must_be_sequence_of_lists[]
459 	INIT(= N_("E1140: :for argument must be a sequence of lists"));
460 EXTERN char e_indexable_type_required[]
461 	INIT(= N_("E1141: Indexable type required"));
462 EXTERN char e_non_empty_string_required[]
463 	INIT(= N_("E1142: Non-empty string required"));
464 EXTERN char e_empty_expression_str[]
465 	INIT(= N_("E1143: Empty expression: \"%s\""));
466 EXTERN char e_command_str_not_followed_by_white_space_str[]
467 	INIT(= N_("E1144: Command \"%s\" is not followed by white space: %s"));
468 EXTERN char e_missing_heredoc_end_marker_str[]
469 	INIT(= N_("E1145: Missing heredoc end marker: %s"));
470 EXTERN char e_command_not_recognized_str[]
471 	INIT(= N_("E1146: Command not recognized: %s"));
472 EXTERN char e_list_not_set[]
473 	INIT(= N_("E1147: List not set"));
474 EXTERN char e_cannot_index_str[]
475 	INIT(= N_("E1148: Cannot index a %s"));
476 EXTERN char e_script_variable_invalid_after_reload_in_function_str[]
477 	INIT(= N_("E1149: Script variable is invalid after reload in function %s"));
478 EXTERN char e_script_variable_type_changed[]
479 	INIT(= N_("E1150: Script variable type changed"));
480 EXTERN char e_mismatched_endfunction[]
481 	INIT(= N_("E1151: Mismatched endfunction"));
482 EXTERN char e_mismatched_enddef[]
483 	INIT(= N_("E1152: Mismatched enddef"));
484 EXTERN char e_invalid_operation_for_str[]
485 	INIT(= N_("E1153: Invalid operation for %s"));
486 EXTERN char e_divide_by_zero[]
487 	INIT(= N_("E1154: Divide by zero"));
488 EXTERN char e_cannot_define_autocommands_for_all_events[]
489 	INIT(= N_("E1155: Cannot define autocommands for ALL events"));
490 EXTERN char e_cannot_change_arglist_recursively[]
491 	INIT(= N_("E1156: Cannot change the argument list recursively"));
492 EXTERN char e_missing_return_type[]
493 	INIT(= N_("E1157: Missing return type"));
494 EXTERN char e_cannot_use_flatten_in_vim9_script[]
495 	INIT(= N_("E1158: Cannot use flatten() in Vim9 script"));
496 EXTERN char e_cannot_split_window_when_closing_buffer[]
497 	INIT(= N_("E1159: Cannot split a window when closing the buffer"));
498 EXTERN char e_cannot_use_default_for_variable_arguments[]
499 	INIT(= N_("E1160: Cannot use a default for variable arguments"));
500 EXTERN char e_cannot_json_encode_str[]
501 	INIT(= N_("E1161: Cannot json encode a %s"));
502 EXTERN char e_register_name_must_be_one_char_str[]
503 	INIT(= N_("E1162: Register name must be one character: %s"));
504 EXTERN char e_variable_nr_type_mismatch_expected_str_but_got_str[]
505 	INIT(= N_("E1163: Variable %d: type mismatch, expected %s but got %s"));
506 EXTERN char e_variable_nr_type_mismatch_expected_str_but_got_str_in_str[]
507 	INIT(= N_("E1163: Variable %d: type mismatch, expected %s but got %s in %s"));
508 EXTERN char e_vim9cmd_must_be_followed_by_command[]
509 	INIT(= N_("E1164: vim9cmd must be followed by a command"));
510 EXTERN char e_cannot_use_range_with_assignment_str[]
511 	INIT(= N_("E1165: Cannot use a range with an assignment: %s"));
512 EXTERN char e_cannot_use_range_with_dictionary[]
513 	INIT(= N_("E1166: Cannot use a range with a dictionary"));
514 EXTERN char e_argument_name_shadows_existing_variable_str[]
515 	INIT(= N_("E1167: Argument name shadows existing variable: %s"));
516 EXTERN char e_argument_already_declared_in_script_str[]
517 	INIT(= N_("E1168: Argument already declared in the script: %s"));
518 EXTERN char e_import_as_name_not_supported_here[]
519 	INIT(= N_("E1169: 'import * as {name}' not supported here"));
520 EXTERN char e_cannot_use_hash_curly_to_start_comment[]
521 	INIT(= N_("E1170: Cannot use #{ to start a comment"));
522 EXTERN char e_missing_end_block[]
523 	INIT(= N_("E1171: Missing } after inline function"));
524 EXTERN char e_cannot_use_default_values_in_lambda[]
525 	INIT(= N_("E1172: Cannot use default values in a lambda"));
526 EXTERN char e_text_found_after_enddef_str[]
527 	INIT(= N_("E1173: Text found after enddef: %s"));
528 EXTERN char e_string_required_for_argument_nr[]
529 	INIT(= N_("E1174: String required for argument %d"));
530 EXTERN char e_non_empty_string_required_for_argument_nr[]
531 	INIT(= N_("E1175: Non-empty string required for argument %d"));
532 EXTERN char e_misplaced_command_modifier[]
533 	INIT(= N_("E1176: Misplaced command modifier"));
534 EXTERN char e_for_loop_on_str_not_supported[]
535 	INIT(= N_("E1177: For loop on %s not supported"));
536 EXTERN char e_cannot_lock_unlock_local_variable[]
537 	INIT(= N_("E1178: Cannot lock or unlock a local variable"));
538 EXTERN char e_failed_to_extract_pwd_from_str_check_your_shell_config[]
539 	INIT(= N_("E1179: Failed to extract PWD from %s, check your shell's config related to OSC 7"));
540 EXTERN char e_variable_arguments_type_must_be_list_str[]
541 	INIT(= N_("E1180: Variable arguments type must be a list: %s"));
542 EXTERN char e_cannot_use_underscore_here[]
543 	INIT(= N_("E1181: Cannot use an underscore here"));
544 EXTERN char e_blob_required[]
545 	INIT(= N_("E1182: Blob required"));
546 EXTERN char e_cannot_use_range_with_assignment_operator_str[]
547 	INIT(= N_("E1183: Cannot use a range with an assignment operator: %s"));
548 EXTERN char e_blob_not_set[]
549 	INIT(= N_("E1184: Blob not set"));
550 EXTERN char e_cannot_nest_redir[]
551 	INIT(= N_("E1185: Cannot nest :redir"));
552 EXTERN char e_missing_redir_end[]
553 	INIT(= N_("E1185: Missing :redir END"));
554 EXTERN char e_expression_does_not_result_in_value_str[]
555 	INIT(= N_("E1186: Expression does not result in a value: %s"));
556 EXTERN char e_failed_to_source_defaults[]
557 	INIT(= N_("E1187: Failed to source defaults.vim"));
558 EXTERN char e_cannot_open_terminal_from_command_line_window[]
559 	INIT(= N_("E1188: Cannot open a terminal from the command line window"));
560 EXTERN char e_cannot_use_legacy_with_command_str[]
561 	INIT(= N_("E1189: Cannot use :legacy with this command: %s"));
562 EXTERN char e_one_argument_too_few[]
563 	INIT(= N_("E1190: One argument too few"));
564 EXTERN char e_nr_arguments_too_few[]
565 	INIT(= N_("E1190: %d arguments too few"));
566 EXTERN char e_call_to_function_that_failed_to_compile_str[]
567 	INIT(= N_("E1191: Call to function that failed to compile: %s"));
568 EXTERN char e_empty_function_name[]
569 	INIT(= N_("E1192: Empty function name"));
570 // libsodium
571 EXTERN char e_libsodium_not_built_in[]
572 	INIT(= N_("E1193: cryptmethod xchacha20 not built into this Vim"));
573 EXTERN char e_libsodium_cannot_encrypt_header[]
574 	INIT(= N_("E1194: Cannot encrypt header, not enough space"));
575 EXTERN char e_libsodium_cannot_encrypt_buffer[]
576 	INIT(= N_("E1195: Cannot encrypt buffer, not enough space"));
577 EXTERN char e_libsodium_cannot_decrypt_header[]
578 	INIT(= N_("E1196: Cannot decrypt header, not enough space"));
579 EXTERN char e_libsodium_cannot_allocate_buffer[]
580 	INIT(= N_("E1197: Cannot allocate_buffer for encryption"));
581 EXTERN char e_libsodium_decryption_failed_header_incomplete[]
582 	INIT(= N_("E1198: Decryption failed: Header incomplete!"));
583 EXTERN char e_libsodium_cannot_decrypt_buffer[]
584 	INIT(= N_("E1199: Cannot decrypt buffer, not enough space"));
585 EXTERN char e_libsodium_decryption_failed[]
586 	INIT(= N_("E1200: Decryption failed!"));
587 EXTERN char e_libsodium_decryption_failed_premature[]
588 	INIT(= N_("E1201: Decryption failed: pre-mature end of file!"));
589 EXTERN char e_no_white_space_allowed_after_str_str[]
590 	INIT(= N_("E1202: No white space allowed after '%s': %s"));
591 EXTERN char e_dot_can_only_be_used_on_dictionary_str[]
592 	INIT(= N_("E1203: Dot can only be used on a dictionary: %s"));
593 EXTERN char e_regexp_number_after_dot_pos_search[]
594 	INIT(= N_("E1204: No Number allowed after .: '\\%%%c'"));
595 EXTERN char e_no_white_space_allowed_between_option_and[]
596 	INIT(= N_("E1205: No white space allowed between option and"));
597 EXTERN char e_dict_required_for_argument_nr[]
598 	INIT(= N_("E1206: Dictionary required for argument %d"));
599 EXTERN char e_expression_without_effect_str[]
600 	INIT(= N_("E1207: Expression without an effect: %s"));
601 EXTERN char e_complete_used_without_allowing_arguments[]
602 	INIT(= N_("E1208: -complete used without allowing arguments"));
603 EXTERN char e_invalid_value_for_line_number_str[]
604 	INIT(= N_("E1209: Invalid value for a line number: \"%s\""));
605 EXTERN char e_number_required_for_argument_nr[]
606 	INIT(= N_("E1210: Number required for argument %d"));
607 EXTERN char e_list_required_for_argument_nr[]
608 	INIT(= N_("E1211: List required for argument %d"));
609 EXTERN char e_bool_required_for_argument_nr[]
610 	INIT(= N_("E1212: Bool required for argument %d"));
611 EXTERN char e_redefining_imported_item_str[]
612 	INIT(= N_("E1213: Redefining imported item \"%s\""));
613 #if defined(FEAT_DIGRAPHS) && defined(FEAT_EVAL)
614 EXTERN char e_digraph_must_be_just_two_characters_str[]
615 	INIT(= N_("E1214: Digraph must be just two characters: %s"));
616 EXTERN char e_digraph_argument_must_be_one_character_str[]
617 	INIT(= N_("E1215: Digraph must be one character: %s"));
618 EXTERN char e_digraph_setlist_argument_must_be_list_of_lists_with_two_items[]
619 	INIT(= N_("E1216: digraph_setlist() argument must be a list of lists with two items"));
620 #endif
621 EXTERN char e_chan_or_job_required_for_argument_nr[]
622 	INIT(= N_("E1217: Channel or Job required for argument %d"));
623 EXTERN char e_job_required_for_argument_nr[]
624 	INIT(= N_("E1218: Job required for argument %d"));
625 EXTERN char e_float_or_number_required_for_argument_nr[]
626 	INIT(= N_("E1219: Float or Number required for argument %d"));
627 EXTERN char e_string_or_number_required_for_argument_nr[]
628 	INIT(= N_("E1220: String or Number required for argument %d"));
629 EXTERN char e_string_or_blob_required_for_argument_nr[]
630 	INIT(= N_("E1221: String or Blob required for argument %d"));
631 EXTERN char e_string_or_list_required_for_argument_nr[]
632 	INIT(= N_("E1222: String or List required for argument %d"));
633 EXTERN char e_string_or_dict_required_for_argument_nr[]
634 	INIT(= N_("E1223: String or Dictionary required for argument %d"));
635 EXTERN char e_string_number_or_list_required_for_argument_nr[]
636 	INIT(= N_("E1224: String, Number or List required for argument %d"));
637 EXTERN char e_string_list_or_dict_required_for_argument_nr[]
638 	INIT(= N_("E1225: String, List or Dictionary required for argument %d"));
639 EXTERN char e_list_or_blob_required_for_argument_nr[]
640 	INIT(= N_("E1226: List or Blob required for argument %d"));
641 EXTERN char e_list_or_dict_required_for_argument_nr[]
642 	INIT(= N_("E1227: List or Dictionary required for argument %d"));
643 EXTERN char e_list_dict_or_blob_required_for_argument_nr[]
644 	INIT(= N_("E1228: List, Dictionary or Blob required for argument %d"));
645 EXTERN char e_expected_dictionary_for_using_key_str_but_got_str[]
646 	INIT(= N_("E1229: Expected dictionary for using key \"%s\", but got %s"));
647 EXTERN char e_encryption_sodium_mlock_failed[]
648 	INIT(= N_("E1230: Encryption: sodium_mlock() failed"));
649 EXTERN char e_cannot_use_bar_to_separate_commands_here_str[]
650 	INIT(= N_("E1231: Cannot use a bar to separate commands here: %s"));
651 EXTERN char e_argument_of_exists_compiled_must_be_literal_string[]
652 	INIT(= N_("E1232: Argument of exists_compiled() must be a literal string"));
653 EXTERN char e_exists_compiled_can_only_be_used_in_def_function[]
654 	INIT(= N_("E1233: exists_compiled() can only be used in a :def function"));
655 EXTERN char e_legacy_must_be_followed_by_command[]
656 	INIT(= N_("E1234: legacy must be followed by a command"));
657 EXTERN char e_function_reference_is_not_set[]
658 	INIT(= N_("E1235: Function reference is not set"));
659 EXTERN char e_cannot_use_str_itself_it_is_imported_with_star[]
660 	INIT(= N_("E1236: Cannot use %s itself, it is imported with '*'"));
661 EXTERN char e_no_such_user_defined_command_in_current_buffer_str[]
662 	INIT(= N_("E1237: No such user-defined command in current buffer: %s"));
663 EXTERN char e_blob_required_for_argument_nr[]
664 	INIT(= N_("E1238: Blob required for argument %d"));
665 EXTERN char e_invalid_value_for_blob_nr[]
666 	INIT(= N_("E1239: Invalid value for blob: %d"));
667 EXTERN char e_resulting_text_too_long[]
668 	INIT(= N_("E1240: Resulting text too long"));
669 EXTERN char e_separator_not_supported_str[]
670 	INIT(= N_("E1241: Separator not supported: %s"));
671 EXTERN char e_no_white_space_allowed_before_separator_str[]
672 	INIT(= N_("E1242: No white space allowed before separator: %s"));
673