diff src/errors.h @ 29034:f3c014fe5c16 v8.2.5039

patch 8.2.5039: confusing error if first argument of popup_create() is wrong Commit: https://github.com/vim/vim/commit/83bd7a974056fd61e142c791e79d9dd89acd5ba4 Author: Bram Moolenaar <Bram@vim.org> Date: Sun May 29 17:13:24 2022 +0100 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.
author Bram Moolenaar <Bram@vim.org>
date Sun, 29 May 2022 18:15:03 +0200
parents e79bfdc53aee
children b90bca860b5a
line wrap: on
line diff
--- a/src/errors.h
+++ b/src/errors.h
@@ -3284,3 +3284,7 @@ EXTERN char e_bitshift_ops_must_be_numbe
 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