From 6cf12f72689311e131c44b43a188aa6ff88b8b9d Mon Sep 17 00:00:00 2001 From: Bailey Ling Date: Tue, 24 Sep 2013 19:06:19 -0400 Subject: [PATCH] oops. #279. --- autoload/airline/extensions/tabline.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/airline/extensions/tabline.vim b/autoload/airline/extensions/tabline.vim index 54454515..2c3e5fac 100644 --- a/autoload/airline/extensions/tabline.vim +++ b/autoload/airline/extensions/tabline.vim @@ -33,9 +33,9 @@ function! airline#extensions#tabline#init(ext) set showtabline=2 else if s:show_buffers == 1 - autocmd CursorMove * call on_cursormove(s:buf_min_count, len(s:get_buffer_list())) + autocmd CursorMoved * call on_cursormove(s:buf_min_count, len(s:get_buffer_list())) else - autocmd CursorMove * call on_cursormove(s:tab_min_count, tabpagenr('$')) + autocmd CursorMoved * call on_cursormove(s:tab_min_count, tabpagenr('$')) endif endif