diff src/sign.c @ 16930:1689b52cf297 v8.1.1466

patch 8.1.1466: not updating priority on existing sign commit https://github.com/vim/vim/commit/58a7f87c8653b4cb5b0794b6b88e2ec140d3d2c3 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jun 4 22:48:15 2019 +0200 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)
author Bram Moolenaar <Bram@vim.org>
date Tue, 04 Jun 2019 23:00:06 +0200
parents ce04ebdf26b8
children 15bc5a64bd50
line wrap: on
line diff
--- 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)