move virtualenv to the right side, so tagbar function names don't shift it all over the place.

This commit is contained in:
Bailey Ling 2013-08-25 11:51:32 -04:00
parent b9483d8c15
commit 3595debb97
1 changed files with 2 additions and 4 deletions

View File

@ -7,9 +7,7 @@ endfunction
function! airline#extensions#virtualenv#apply(...) function! airline#extensions#virtualenv#apply(...)
if &filetype == "python" if &filetype == "python"
if !exists('w:airline_section_x') call airline#extensions#append_to_section('x', ' '.g:airline_right_alt_sep.' %{virtualenv#statusline()}')
let w:airline_section_x = g:airline_section_x
endif
let w:airline_section_x = '%{virtualenv#statusline()} '.g:airline_right_alt_sep.' '.w:airline_section_x
endif endif
endfunction endfunction