mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 15:21:47 +00:00
fix: setting tabline option not redrawing tabline
With #20374 tabline option is marked with 'statuslines' redraw flag. But 'statuslines' doesn't redraw tabline. As a result, tabline doesn't get redrawn when tabline option is set and statuslines get unnecessarily redrawn. This patch fixes the issue by adding a new redraw flag P_RTABL to redraw tabline.
This commit is contained in:
@@ -2648,6 +2648,10 @@ void check_redraw(uint32_t flags)
|
||||
status_redraw_all();
|
||||
}
|
||||
|
||||
if ((flags & P_RTABL) || all) { // mark tablines dirty
|
||||
redraw_tabline = true;
|
||||
}
|
||||
|
||||
if ((flags & P_RBUF) || (flags & P_RWIN) || all) {
|
||||
changed_window_setting();
|
||||
}
|
||||
|
Reference in New Issue
Block a user