diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-08-07 14:09:32 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-08-07 14:39:19 +0800 |
commit | 48051ed62cde6ab572bcd48768fe43740f3cd48c (patch) | |
tree | b016aaf3d9c8cd62d701ebe8f0dbaf17f645bc3a /src/nvim/sign.c | |
parent | d0686540f56154e269e11eb0cc6cd3eb759f2b77 (diff) | |
download | rneovim-48051ed62cde6ab572bcd48768fe43740f3cd48c.tar.gz rneovim-48051ed62cde6ab572bcd48768fe43740f3cd48c.tar.bz2 rneovim-48051ed62cde6ab572bcd48768fe43740f3cd48c.zip |
vim-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.
https://github.com/vim/vim/commit/2d06bfde29bd3a62fc85823d2aa719ef943bd319
Diffstat (limited to 'src/nvim/sign.c')
-rw-r--r-- | src/nvim/sign.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/sign.c b/src/nvim/sign.c index 1640d0167e..7b6b55fede 100644 --- a/src/nvim/sign.c +++ b/src/nvim/sign.c @@ -1395,7 +1395,7 @@ static int parse_sign_cmd_args(int cmd, char_u *arg, char_u **sign_name, int *si filename = arg; *buf = buflist_findnr(getdigits_int((char **)&arg, true, 0)); if (*skipwhite((char *)arg) != NUL) { - emsg(_(e_trailing)); + semsg(_(e_trailing_arg), arg); } break; } else { |