diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-01-07 22:10:00 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-01-07 22:10:00 +0100 |
commit | b589f95b38ddd779d7e696abb0ea011dc92ea903 (patch) | |
tree | 24f42685d980df4cba0808b723a60a638d2d57bc /src/evalfunc.c | |
parent | d730c8e2974609034016ca66db09d2ef78784343 (diff) |
patch 8.1.0702: ":sign place" only uses the current bufferv8.1.0702
Problem: ":sign place" only uses the current buffer.
Solution: List signs for all buffers when there is no buffer argument.
Fix error message for invalid buffer name in sign_place().
(Yegappan Lakshmanan, closes #3774)
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r-- | src/evalfunc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c index 58f58060ef..cd0888b626 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -11462,7 +11462,7 @@ f_sign_place(typval_T *argvars, typval_T *rettv) buf = tv_get_buf(&argvars[3], FALSE); if (buf == NULL) { - EMSG2(_("E158: Invalid buffer name: %s"), tv_get_string(&argvars[2])); + EMSG2(_("E158: Invalid buffer name: %s"), tv_get_string(&argvars[3])); goto cleanup; } |