Merge pull request #19445 from famiu/fix/local_winbar_tabs

fix: local winbar with tabs
This commit is contained in:
bfredl
2022-07-20 16:57:38 +02:00
committed by GitHub
3 changed files with 89 additions and 28 deletions

View File

@@ -3022,7 +3022,7 @@ ambw_end:
}
// add / remove window bars for 'winbar'
if (gvarp == (char_u **)&p_wbr) {
set_winbar();
set_winbar(true);
}
} else if (gvarp == &p_cpt) {
// check if it is a valid value for 'complete' -- Acevedo
@@ -6456,6 +6456,7 @@ void didset_window_options(win_T *wp)
set_chars_option(wp, &wp->w_p_lcs, true);
parse_winhl_opt(wp); // sets w_hl_needs_update also for w_p_winbl
check_blending(wp);
set_winbar_win(wp, false);
wp->w_grid_alloc.blending = wp->w_p_winbl > 0;
}