Problem: winhighlight option handling can be improved
(after: v9.2.0093)
Solution: Check entire override stack in update_highlight_overrides();
update w_hl of every window in highlight_changed() (Foxe Chen).
closes: #19633
Signed-off-by: Foxe Chen <chen.foxe@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
}
}
+ // Highlight ids may have been changed, so keep windows up to date
FOR_ALL_WINDOWS(wp)
- wp->w_hlfwin_id = hlf_get_id(wp, HLF_WIN);
+ {
+ char *errmsg = update_winhighlight(wp, wp->w_p_whl);
+
+ if (errmsg != NULL)
+ emsg(_(errmsg));
+ }
#ifdef FEAT_TERMINAL
term_update_hlfwin_all();
{
set->arr = hl_new;
set->len = newlen;
- break;
}
}
}
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 138,
/**/
137,
/**/