diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-07-23 17:16:18 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-07-23 17:16:18 +0200 |
commit | 2d06bfde29bd3a62fc85823d2aa719ef943bd319 (patch) | |
tree | dac4bc628fbc1b9414f8901375abe0b9e975a736 /src/eval.c | |
parent | 8930caaa1a283092aca81fdbc3fcf15c7eadb197 (diff) |
patch 8.2.1281: the "trailing characters" error can be hard to understandv8.2.1281
Problem: The "trailing characters" error can be hard to understand.
Solution: Add the trailing characters to the message.
Diffstat (limited to 'src/eval.c')
-rw-r--r-- | src/eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c index bb75528ca7..6d3d19ee83 100644 --- a/src/eval.c +++ b/src/eval.c @@ -797,7 +797,7 @@ get_lval( if (unlet && !VIM_ISWHITE(*p) && !ends_excmd(*p) && *p != '[' && *p != '.') { - emsg(_(e_trailing)); + semsg(_(e_trailing_arg), p); return NULL; } |