This commit is contained in:
Bailey Ling 2013-09-24 19:06:19 -04:00
parent 1b0c260980
commit 6cf12f7268

View File

@ -33,9 +33,9 @@ function! airline#extensions#tabline#init(ext)
set showtabline=2
else
if s:show_buffers == 1
autocmd CursorMove * call <sid>on_cursormove(s:buf_min_count, len(s:get_buffer_list()))
autocmd CursorMoved * call <sid>on_cursormove(s:buf_min_count, len(s:get_buffer_list()))
else
autocmd CursorMove * call <sid>on_cursormove(s:tab_min_count, tabpagenr('$'))
autocmd CursorMoved * call <sid>on_cursormove(s:tab_min_count, tabpagenr('$'))
endif
endif