1
0
forked from aniani/vim

patch 8.2.5039: confusing error if first argument of popup_create() is wrong

Problem:    Confusing error if first argument of popup_create() is wrong.
Solution:   Give a more informative error.
This commit is contained in:
Bram Moolenaar
2022-05-29 17:13:24 +01:00
parent d28950f954
commit 83bd7a9740
5 changed files with 17 additions and 4 deletions

View File

@@ -3284,3 +3284,7 @@ EXTERN char e_bitshift_ops_must_be_number[]
EXTERN char e_bitshift_ops_must_be_postive[]
INIT(= N_("E1283: Bitshift amount must be a positive number"));
#endif
#if defined(FEAT_PROP_POPUP)
EXTERN char e_argument_1_list_item_nr_dictionary_required[]
INIT(= N_("E1284: Argument 1, list item %d: Dictionary required"));
#endif