mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06: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:
parent
890ce792af
commit
7bd570cd9a
@ -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;
|
||||
}
|
||||
|
@ -69,6 +69,7 @@ static char *features[] = {
|
||||
|
||||
// clang-format off
|
||||
static int included_patches[] = {
|
||||
1511,
|
||||
1366,
|
||||
|
||||
// 1219 NA
|
||||
|
Loading…
Reference in New Issue
Block a user