summaryrefslogtreecommitdiff
path: root/src/sign.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-06-04 22:48:15 +0200
committerBram Moolenaar <Bram@vim.org>2019-06-04 22:48:15 +0200
commit58a7f87c8653b4cb5b0794b6b88e2ec140d3d2c3 (patch)
treeae14bbba8af39f1d429ecfda0d2716a4ec05e15a /src/sign.c
parenta37833dbd7d3cb0fff4cbf0ba6e80d0ad55cd4b9 (diff)
downloadvim-git-58a7f87c8653b4cb5b0794b6b88e2ec140d3d2c3.tar.gz
patch 8.1.1466: not updating priority on existing signv8.1.1466
Problem: Not updating priority on existing sign. Solution: Set the sign priority. Add a test. (Yegappan Lakshmanan)
Diffstat (limited to 'src/sign.c')
-rw-r--r--src/sign.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sign.c b/src/sign.c
index b89bea073..8f1de4af1 100644
--- a/src/sign.c
+++ b/src/sign.c
@@ -330,6 +330,7 @@ buf_addsign(
{
// Update an existing sign
sign->typenr = typenr;
+ sign->priority = prio;
return;
}
else if (lnum < sign->lnum)