a min tab count of 1 is the same as always showing (#304).

This commit is contained in:
Bailey Ling 2013-10-08 13:05:43 -04:00
parent 00cd0be601
commit 5976cf3a48

View File

@ -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