diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-08-07 15:22:48 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-07 15:22:48 +0800 |
commit | fea15adad394619aaea69b627be249f8a20dc2ed (patch) | |
tree | b016aaf3d9c8cd62d701ebe8f0dbaf17f645bc3a /src/nvim/ex_cmds.c | |
parent | 0fdf59ac9d30d8874ba6eba22a8bdfb41c1603b7 (diff) | |
parent | 48051ed62cde6ab572bcd48768fe43740f3cd48c (diff) | |
download | rneovim-fea15adad394619aaea69b627be249f8a20dc2ed.tar.gz rneovim-fea15adad394619aaea69b627be249f8a20dc2ed.tar.bz2 rneovim-fea15adad394619aaea69b627be249f8a20dc2ed.zip |
Merge pull request #19669 from zeertzjq/vim-8.2.1278
vim-patch:8.2.{1278,1280,1281}: error message improvements
Diffstat (limited to 'src/nvim/ex_cmds.c')
-rw-r--r-- | src/nvim/ex_cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c index 23e7660606..9d1ac185d4 100644 --- a/src/nvim/ex_cmds.c +++ b/src/nvim/ex_cmds.c @@ -3616,7 +3616,7 @@ static int do_sub(exarg_T *eap, proftime_T timeout, long cmdpreview_ns, handle_T if (*cmd && *cmd != '"') { // if not end-of-line or comment eap->nextcmd = (char *)check_nextcmd((char_u *)cmd); if (eap->nextcmd == NULL) { - emsg(_(e_trailing)); + semsg(_(e_trailing_arg), cmd); return 0; } } |