fix detection of tab count. resolves #304.
This commit is contained in:
parent
047e40a3e1
commit
00cd0be601
@ -35,7 +35,7 @@ function! airline#extensions#tabline#init(ext)
|
||||
if s:show_buffers == 1
|
||||
autocmd CursorMoved * call <sid>on_cursormove(s:buf_min_count, len(s:get_buffer_list()))
|
||||
else
|
||||
autocmd CursorMoved * call <sid>on_cursormove(s:tab_min_count, tabpagenr('$'))
|
||||
autocmd TabEnter * call <sid>on_cursormove(s:tab_min_count, tabpagenr('$'))
|
||||
endif
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user