aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/window.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-04-26 11:59:59 +0200
committerGitHub <noreply@github.com>2017-04-26 11:59:59 +0200
commit0b59f988f447e23af692d972a83989156c6aad02 (patch)
treee7fba1e2be738d0a89d9aafdfb1ae0c92586af05 /src/nvim/window.c
parent7e571bca5d5e00e9e33e266b983a48bb4014183f (diff)
parent6944abad2f3f443027af1966a2a310034d2179b2 (diff)
downloadrneovim-0b59f988f447e23af692d972a83989156c6aad02.tar.gz
rneovim-0b59f988f447e23af692d972a83989156c6aad02.tar.bz2
rneovim-0b59f988f447e23af692d972a83989156c6aad02.zip
Merge #6583 from justinmk/ui-tabline
Diffstat (limited to 'src/nvim/window.c')
-rw-r--r--src/nvim/window.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nvim/window.c b/src/nvim/window.c
index 60bba19b07..69c0a838ea 100644
--- a/src/nvim/window.c
+++ b/src/nvim/window.c
@@ -48,6 +48,7 @@
#include "nvim/syntax.h"
#include "nvim/terminal.h"
#include "nvim/undo.h"
+#include "nvim/ui.h"
#include "nvim/os/os.h"
@@ -5223,6 +5224,9 @@ static void last_status_rec(frame_T *fr, int statusline)
*/
int tabline_height(void)
{
+ if (ui_is_external(kUITabline)) {
+ return 0;
+ }
assert(first_tabpage);
switch (p_stal) {
case 0: return 0;