From 5976cf3a48f293069a3957f393c44fb807136c43 Mon Sep 17 00:00:00 2001 From: Bailey Ling Date: Tue, 8 Oct 2013 13:05:43 -0400 Subject: [PATCH] a min tab count of 1 is the same as always showing (#304). --- autoload/airline/extensions/tabline.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/airline/extensions/tabline.vim b/autoload/airline/extensions/tabline.vim index 8e45401..f686003 100644 --- a/autoload/airline/extensions/tabline.vim +++ b/autoload/airline/extensions/tabline.vim @@ -29,7 +29,7 @@ function! airline#extensions#tabline#init(ext) set tabline=%!airline#extensions#tabline#get() - if s:buf_min_count <= 0 && s:tab_min_count <= 0 + if s:buf_min_count <= 0 && s:tab_min_count <= 1 set showtabline=2 else if s:show_buffers == 1