fix(highlight): 'winhl' shouldn't take priority over API (#31288)

This commit is contained in:
zeertzjq
2024-11-22 06:52:32 +08:00
committed by GitHub
parent 92a83f671b
commit ff75f345ab
4 changed files with 23 additions and 2 deletions

View File

@@ -1035,7 +1035,7 @@ struct window_S {
synblock_T *w_s; ///< for :ownsyntax
int w_ns_hl;
int w_ns_hl_winhl;
int w_ns_hl_winhl; ///< when set to -1, 'winhighlight' shouldn't be used
int w_ns_hl_active;
int *w_ns_hl_attr;