summaryrefslogtreecommitdiffstats
path: root/src/errors.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-08-04 16:09:24 +0200
committerBram Moolenaar <Bram@vim.org>2021-08-04 16:09:24 +0200
commit41a3485dd638a09e4c463b1a1da231f4290454f2 (patch)
tree8a16c31ee81c4f4226dbfe384ada07d1bcde83d0 /src/errors.h
parent23e2e115154ef0bf05d809024eed328a46ed0f82 (diff)
patch 8.2.3282: Vim9: error about using -complete without -nargs is confusingv8.2.3282
Problem: Vim9: error about using -complete without -nargs is confusing. Solution: Change the wording.
Diffstat (limited to 'src/errors.h')
-rw-r--r--src/errors.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/errors.h b/src/errors.h
index 2c4e031c68..44b2828f6a 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -595,8 +595,8 @@ EXTERN char e_dict_required_for_argument_nr[]
INIT(= N_("E1206: Dictionary required for argument %d"));
EXTERN char e_expression_without_effect_str[]
INIT(= N_("E1207: Expression without an effect: %s"));
-EXTERN char e_complete_used_without_nargs[]
- INIT(= N_("E1208: -complete used without -nargs"));
+EXTERN char e_complete_used_without_allowing_arguments[]
+ INIT(= N_("E1208: -complete used without allowing arguments"));
EXTERN char e_invalid_value_for_line_number_str[]
INIT(= N_("E1209: Invalid value for a line number: \"%s\""));
EXTERN char e_number_required_for_argument_nr[]