aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-03-17 20:16:39 +0100
committerGitHub <noreply@github.com>2022-03-17 20:16:39 +0100
commit3c7e937a892308498ba23ce5c0959e51fbf28911 (patch)
tree79ae25f12d9f8c50690250c07f2c04cf3687166a /src/nvim/buffer.c
parentd238b8f6003d34cae7f65ff7585b48a2cd9449fb (diff)
parent5ab122917474b3f9e88be4ee88bc6d627980cfe0 (diff)
downloadrneovim-3c7e937a892308498ba23ce5c0959e51fbf28911.tar.gz
rneovim-3c7e937a892308498ba23ce5c0959e51fbf28911.tar.bz2
rneovim-3c7e937a892308498ba23ce5c0959e51fbf28911.zip
Merge pull request #17266 from famiu/feat/ui/global-statusline
feat(statusline): add global statusline
Diffstat (limited to 'src/nvim/buffer.c')
-rw-r--r--src/nvim/buffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c
index 3fdc111b6f..bfaee82311 100644
--- a/src/nvim/buffer.c
+++ b/src/nvim/buffer.c
@@ -4947,8 +4947,8 @@ void ex_buffer_all(exarg_T *eap)
wpnext = wp->w_next;
if ((wp->w_buffer->b_nwindows > 1
|| ((cmdmod.split & WSP_VERT)
- ? wp->w_height + wp->w_status_height < Rows - p_ch
- - tabline_height()
+ ? wp->w_height + wp->w_hsep_height + wp->w_status_height < Rows - p_ch
+ - tabline_height() - global_stl_height()
: wp->w_width != Columns)
|| (had_tab > 0 && wp != firstwin))
&& !ONE_WINDOW