mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 20:08:17 +00:00
vim-patch:7.4.1511
Problem: Statusline highlighting is sometimes wrong.
Solution: Check for Highlight type. (Christian Brabandt)
af6e36ff16
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user