mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-12-18 18:05:55 +08:00
a min tab count of 1 is the same as always showing (#304).
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user