update tagbar extension

Allow the tagbar extension to be disabled.
This commit is contained in:
Thomas Hipp 2013-08-12 16:50:53 +02:00
parent 7524110de9
commit 222adbfeaa

View File

@ -126,7 +126,7 @@ function! airline#extensions#load()
call airline#extensions#commandt#init(s:ext)
endif
if exists(':TagbarToggle')
if g:airline_enable_tagbar && exists(':TagbarToggle')
call airline#extensions#tagbar#init(s:ext)
endif