forked from aniani/vim
patch 7.4.1511
Problem: Statusline highlighting is sometimes wrong. Solution: Check for Highlight type. (Christian Brabandt)
This commit is contained in:
@@ -3722,7 +3722,7 @@ build_stl_str_hl(
|
|||||||
{
|
{
|
||||||
/* remove group if all items are empty */
|
/* remove group if all items are empty */
|
||||||
for (n = groupitem[groupdepth] + 1; n < curitem; n++)
|
for (n = groupitem[groupdepth] + 1; n < curitem; n++)
|
||||||
if (item[n].type == Normal)
|
if (item[n].type == Normal || item[n].type == Highlight)
|
||||||
break;
|
break;
|
||||||
if (n == curitem)
|
if (n == curitem)
|
||||||
{
|
{
|
||||||
|
@@ -743,6 +743,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1511,
|
||||||
/**/
|
/**/
|
||||||
1510,
|
1510,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user