mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-10-10 07:05:47 +08:00
a min tab count of 1 is the same as always showing (#304).
This commit is contained in:
1 parent
00cd0be601
commit
5976cf3a48
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user