aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_getln.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-08-07 15:22:48 +0800
committerGitHub <noreply@github.com>2022-08-07 15:22:48 +0800
commitfea15adad394619aaea69b627be249f8a20dc2ed (patch)
treeb016aaf3d9c8cd62d701ebe8f0dbaf17f645bc3a /src/nvim/ex_getln.c
parent0fdf59ac9d30d8874ba6eba22a8bdfb41c1603b7 (diff)
parent48051ed62cde6ab572bcd48768fe43740f3cd48c (diff)
downloadrneovim-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_getln.c')
-rw-r--r--src/nvim/ex_getln.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c
index 6240ac6b37..07a0e68884 100644
--- a/src/nvim/ex_getln.c
+++ b/src/nvim/ex_getln.c
@@ -6525,7 +6525,7 @@ void ex_history(exarg_T *eap)
histype1 = 0;
histype2 = HIST_COUNT - 1;
} else {
- emsg(_(e_trailing));
+ semsg(_(e_trailing_arg), arg);
return;
}
} else {
@@ -6535,7 +6535,7 @@ void ex_history(exarg_T *eap)
end = arg;
}
if (!get_list_range(&end, &hisidx1, &hisidx2) || *end != NUL) {
- emsg(_(e_trailing));
+ semsg(_(e_trailing_arg), end);
return;
}