# HG changeset patch # User Christian Brabandt # Date 1457438404 -3600 # Node ID 768065c86a35516fcab2636597d2c7ae63fcd75f # Parent 4c6ad81d41fe00ef8aa86be1a4bb2f83c32d34eb commit https://github.com/vim/vim/commit/af6e36ff16736106a1bc63bb4d01f51fdfeb29a2 Author: Bram Moolenaar Date: Tue Mar 8 12:56:33 2016 +0100 patch 7.4.1511 Problem: Statusline highlighting is sometimes wrong. Solution: Check for Highlight type. (Christian Brabandt) diff --git a/src/buffer.c b/src/buffer.c --- a/src/buffer.c +++ b/src/buffer.c @@ -3722,7 +3722,7 @@ build_stl_str_hl( { /* remove group if all items are empty */ for (n = groupitem[groupdepth] + 1; n < curitem; n++) - if (item[n].type == Normal) + if (item[n].type == Normal || item[n].type == Highlight) break; if (n == curitem) { diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -744,6 +744,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1511, +/**/ 1510, /**/ 1509,