improve undotree integration; use exposed statusline functions.

This commit is contained in:
Bailey Ling committed 2013-08-18 18:50:22 +00:00
1 parent 7e563f9c74
commit 9d65486063
2 files changed
+25 -1

No files matched your search

+4 -1
View File
@@ -14,7 +14,6 @@ let s:filetype_overrides = {
\ 'netrw': [ 'netrw', '%f' ],
\ 'unite': [ 'Unite', '%{unite#get_status_string()}' ],
\ 'nerdtree': [ 'NERD', '' ],
\ 'undotree': [ 'undotree', '' ],
\ 'gundo': [ 'Gundo', '' ],
\ 'diff': [ 'diff', '' ],
\ 'vimfiler': [ 'vimfiler', '%{vimfiler#get_status_string()}' ],
@@ -125,6 +124,10 @@ function! airline#extensions#load()
call airline#extensions#commandt#init(s:ext)
endif
if exists(':UndotreeToggle')
call airline#extensions#undotree#init(s:ext)
endif
if g:airline_enable_tagbar && exists(':TagbarToggle')
call airline#extensions#tagbar#init(s:ext)
endif