diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-12-29 18:53:55 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-12-29 18:53:55 +0100 |
commit | 7d83bf4f2b785b46d87c7bc376fc9d0a862af782 (patch) | |
tree | 0676cfef64951ed975c086173f1099998b7dfb94 /src/evalfunc.c | |
parent | 01e51e5b305c13c68b5ea2b9e14779e1e88664ef (diff) |
patch 8.1.0658: deleting signs and completion for :sign is insufficientv8.1.0658
Problem: Deleting signs and completion for :sign is insufficient.
Solution: Add deleting signs in a specified or any group from the current
cursor location. Add group and priority to sign command
completion. Add tests for different sign unplace commands. Update
help text. Add tests for sign jump with group. Update help for
sign jump. (Yegappan Lakshmanan, closes #3731)
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r-- | src/evalfunc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c index d94bf8d297..13e6d6e269 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -11600,12 +11600,12 @@ f_sign_unplace(typval_T *argvars, typval_T *rettv) { // Delete the sign in all the buffers FOR_ALL_BUFFERS(buf) - if (sign_unplace(sign_id, group, buf) == OK) + if (sign_unplace(sign_id, group, buf, 0) == OK) rettv->vval.v_number = 0; } else { - if (sign_unplace(sign_id, group, buf) == OK) + if (sign_unplace(sign_id, group, buf, 0) == OK) rettv->vval.v_number = 0; } vim_free(group); |