0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 7.4.1511

Problem:    Statusline highlighting is sometimes wrong.
Solution:   Check for Highlight type. (Christian Brabandt)
This commit is contained in:
Bram Moolenaar
2016-03-08 12:56:33 +01:00
parent 5f148ec0b5
commit af6e36ff16
2 changed files with 3 additions and 1 deletions

View File

@@ -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)
{