0
0
mirror of https://github.com/vim/vim.git synced 2025-10-13 06:54:15 -04:00

patch 8.1.1466: not updating priority on existing sign

Problem:    Not updating priority on existing sign.
Solution:   Set the sign priority.  Add a test. (Yegappan Lakshmanan)
This commit is contained in:
Bram Moolenaar
2019-06-04 22:48:15 +02:00
parent a37833dbd7
commit 58a7f87c86
5 changed files with 28 additions and 5 deletions

View File

@@ -330,6 +330,7 @@ buf_addsign(
{
// Update an existing sign
sign->typenr = typenr;
sign->priority = prio;
return;
}
else if (lnum < sign->lnum)