move virtualenv to the right side, so tagbar function names don't shift it all over the place.
This commit is contained in:
parent
b9483d8c15
commit
3595debb97
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue