fix(winbar): allow winbar to display the ruler

This commit is contained in:
bfredl
2022-05-20 00:15:47 +02:00
parent 3fe6bf3a1e
commit 060ef52d8b
3 changed files with 58 additions and 1 deletions

View File

@@ -6463,6 +6463,9 @@ void showruler(bool always)
} else {
win_redr_ruler(curwin, always);
}
if (*p_wbr != NUL || *curwin->w_p_wbr != NUL) {
win_redr_winbar(curwin);
}
if (need_maketitle
|| (p_icon && (stl_syntax & STL_IN_ICON))