summaryrefslogtreecommitdiffstats
path: root/src/errors.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-05-29 17:13:24 +0100
committerBram Moolenaar <Bram@vim.org>2022-05-29 17:13:24 +0100
commit83bd7a974056fd61e142c791e79d9dd89acd5ba4 (patch)
tree845ed9a63d231ac200cf663640b58512b4b49c10 /src/errors.h
parentd28950f9540f77032cee0a3047b05bef50ea81dc (diff)
patch 8.2.5039: confusing error if first argument of popup_create() is wrongv8.2.5039
Problem: Confusing error if first argument of popup_create() is wrong. Solution: Give a more informative error.
Diffstat (limited to 'src/errors.h')
-rw-r--r--src/errors.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/errors.h b/src/errors.h
index 3e5252c76b..8ca2a3e2f7 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -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