diff options
author | Martin Tournoij <martin@arp242.net> | 2021-07-11 14:28:25 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-07-11 14:28:25 +0200 |
commit | de69a7353e9bec552e15dbe3706a9f4e88080fce (patch) | |
tree | 51eeb933d632ab9f5caeff22ff28936f4ecc288f /src/errors.h | |
parent | 482d2f37a5ce43157ab1e22c26f389770d0c20cf (diff) |
patch 8.2.3141: no error when using :complete for :command without -nargsv8.2.3141
Problem: No error when using :complete for :command without -nargs.
Solution: Give an error. (Martin Tournoij, closes #8544, closes #8541)
Diffstat (limited to 'src/errors.h')
-rw-r--r-- | src/errors.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/errors.h b/src/errors.h index d4f3179abe..7e823bfbf2 100644 --- a/src/errors.h +++ b/src/errors.h @@ -496,3 +496,5 @@ 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")); |