show tab nr condition moved to right place
This commit is contained in:
parent
0714c35547
commit
6c79004aaa
@ -243,10 +243,10 @@ function! s:get_tabs()
|
||||
let group = 'airline_tab'
|
||||
endif
|
||||
let val = '%('
|
||||
if s:show_tab_nr
|
||||
if s:tab_nr_type == 0
|
||||
let val .= ' %{len(tabpagebuflist('.i.'))}'
|
||||
else
|
||||
if s:show_tab_nr
|
||||
let val .= (g:airline_symbols.space).i
|
||||
endif
|
||||
endif
|
||||
@ -264,4 +264,3 @@ function! s:get_tabs()
|
||||
let s:current_tabline = b.build()
|
||||
return s:current_tabline
|
||||
endfunction
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user