diff options
| author | Ben Beltran <ben@freshout.us> | 2012-10-19 15:09:38 -0500 |
|---|---|---|
| committer | Ben Beltran <ben@freshout.us> | 2012-10-19 15:09:38 -0500 |
| commit | 321ecaca67426410316db7db05e6e33809fe1e63 (patch) | |
| tree | 3811f15c160c6593e84ebfab3994c810a0eeeda5 /vim/autoload/Powerline/Segments/virtualenv.vim | |
| parent | 9041bd938fcce0cf91032c67d529bc21fedeeed3 (diff) | |
Add powerline
Diffstat (limited to 'vim/autoload/Powerline/Segments/virtualenv.vim')
| -rw-r--r-- | vim/autoload/Powerline/Segments/virtualenv.vim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vim/autoload/Powerline/Segments/virtualenv.vim b/vim/autoload/Powerline/Segments/virtualenv.vim new file mode 100644 index 0000000..90661f1 --- /dev/null +++ b/vim/autoload/Powerline/Segments/virtualenv.vim @@ -0,0 +1,5 @@ +let g:Powerline#Segments#virtualenv#segments = Pl#Segment#Init('virtualenv', + \ has('python') && (exists('g:virtualenv_loaded') && g:virtualenv_loaded == 1), + \ + \ Pl#Segment#Create('statusline', '%{VirtualEnvStatusline()}') +\ ) |