a min tab count of 1 is the same as always showing (#304).
This commit is contained in:
parent
00cd0be601
commit
5976cf3a48
@ -29,7 +29,7 @@ function! airline#extensions#tabline#init(ext)
|
|||||||
|
|
||||||
set tabline=%!airline#extensions#tabline#get()
|
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
|
set showtabline=2
|
||||||
else
|
else
|
||||||
if s:show_buffers == 1
|
if s:show_buffers == 1
|
||||||
|
Loading…
Reference in New Issue
Block a user