vim-patch:7.4.1511

Problem:    Statusline highlighting is sometimes wrong.
Solution:   Check for Highlight type. (Christian Brabandt)

af6e36ff16
This commit is contained in:
Nicolas Dumazet
2016-03-08 17:01:47 +01:00
parent 890ce792af
commit 7bd570cd9a
2 changed files with 2 additions and 1 deletions

View File

@@ -3014,7 +3014,7 @@ int build_stl_str_hl(
&& item[groupitem[groupdepth]].minwid == 0) {
bool has_normal_items = false;
for (long n = groupitem[groupdepth] + 1; n < curitem; n++) {
if (item[n].type == Normal) {
if (item[n].type == Normal || item[n].type == Highlight) {
has_normal_items = true;
break;
}