0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.2.3141: no error when using :complete for :command without -nargs

Problem:    No error when using :complete for :command without -nargs.
Solution:   Give an error. (Martin Tournoij, closes #8544, closes #8541)
This commit is contained in:
Martin Tournoij
2021-07-11 14:28:25 +02:00
committed by Bram Moolenaar
parent 482d2f37a5
commit de69a7353e
4 changed files with 23 additions and 27 deletions

View File

@@ -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"));