diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-08-04 16:09:24 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-08-04 16:09:24 +0200 |
commit | 41a3485dd638a09e4c463b1a1da231f4290454f2 (patch) | |
tree | 8a16c31ee81c4f4226dbfe384ada07d1bcde83d0 /src/usercmd.c | |
parent | 23e2e115154ef0bf05d809024eed328a46ed0f82 (diff) | |
download | vim-git-41a3485dd638a09e4c463b1a1da231f4290454f2.tar.gz |
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/usercmd.c')
-rw-r--r-- | src/usercmd.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/usercmd.c b/src/usercmd.c index 41f8e0476..bc0b87032 100644 --- a/src/usercmd.c +++ b/src/usercmd.c @@ -1077,10 +1077,11 @@ ex_command(exarg_T *eap) // Some plugins rely on silently ignoring the mistake, only make this // an error in Vim9 script. if (in_vim9script()) - emsg(_(e_complete_used_without_nargs)); + emsg(_(e_complete_used_without_allowing_arguments)); else give_warning_with_source( - (char_u *)_(e_complete_used_without_nargs), TRUE, TRUE); + (char_u *)_(e_complete_used_without_allowing_arguments), + TRUE, TRUE); } else { |