commit | 2d06bfde29bd3a62fc85823d2aa719ef943bd319 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Jul 23 17:16:18 2020 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Jul 23 17:16:18 2020 +0200 |
tree | dac4bc628fbc1b9414f8901375abe0b9e975a736 | |
parent | 8930caaa1a283092aca81fdbc3fcf15c7eadb197 [diff] [blame] |
patch 8.2.1281: the "trailing characters" error can be hard to understand Problem: The "trailing characters" error can be hard to understand. Solution: Add the trailing characters to the message.
diff --git a/src/quickfix.c b/src/quickfix.c index 4957f7d..1901e38 100644 --- a/src/quickfix.c +++ b/src/quickfix.c
@@ -3579,7 +3579,7 @@ } if (!get_list_range(&arg, &idx1, &idx2) || *arg != NUL) { - emsg(_(e_trailing)); + semsg(_(e_trailing_arg), arg); return; } qfl = qf_get_curlist(qi);