aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.c
diff options
context:
space:
mode:
authorAndrej Zieger <jerdna-regeiz@users.noreply.github.com>2019-05-16 21:27:41 +0200
committerAndrej Zieger <jerdna-regeiz@users.noreply.github.com>2019-05-26 19:32:31 +0200
commit09c236ba5c03732a7d7aa5f14f602d6f130f0057 (patch)
tree31d5826f8e3022e6f0e6581e28a37a6f5693de0f /src/nvim/eval.c
parent3ee55edd2e27dd66c3bf8c319929beb0a6426bb3 (diff)
downloadrneovim-09c236ba5c03732a7d7aa5f14f602d6f130f0057.tar.gz
rneovim-09c236ba5c03732a7d7aa5f14f602d6f130f0057.tar.bz2
rneovim-09c236ba5c03732a7d7aa5f14f602d6f130f0057.zip
vim-patch:8.1.0658: deleting signs and completion for :sign is insufficient
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 vim/vim#3731) https://github.com/vim/vim/commit/7d83bf4f2b785b46d87c7bc376fc9d0a862af782
Diffstat (limited to 'src/nvim/eval.c')
-rw-r--r--src/nvim/eval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c
index de2c9168c2..cbe2a89b5b 100644
--- a/src/nvim/eval.c
+++ b/src/nvim/eval.c
@@ -15739,12 +15739,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;
}
xfree(group);