Add tmuxline extension

This commit is contained in:
Evgeni Kolev
2013-11-17 21:15:55 +02:00
parent 253974506a
commit 63272a08ae
4 changed files with 53 additions and 1 deletions
+4
View File
@@ -195,6 +195,10 @@ function! airline#extensions#load()
call airline#extensions#tabline#init(s:ext)
endif
if get(g:, 'airline#extensions#tmuxline#enabled', 1) && exists(':Tmuxline')
call airline#extensions#tmuxline#init(s:ext)
endif
" load all other extensions not part of the default distribution
for file in split(globpath(&rtp, "autoload/airline/extensions/*.vim"), "\n")
" we have to check both resolved and unresolved paths, since it's possible