mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-10-11 15:39:11 +08:00
add virtualenv extension
This commit is contained in:
1 parent
c98549913c
commit
f0df8825df
4 files changed
+29
-2
No files matched your search
@@ -161,6 +161,10 @@ function! airline#extensions#load()
|
||||
call airline#extensions#bufferline#init(s:ext)
|
||||
endif
|
||||
|
||||
if (get(g:, 'virtualenv_loaded', 1) && get(g:, 'airline_enable_virtualenv', 1))
|
||||
call airline#extensions#virtualenv#init(s:ext)
|
||||
endif
|
||||
|
||||
if g:airline_section_warning == '__'
|
||||
if (get(g:, 'airline#extensions#syntastic#enabled', 1) && get(g:, 'airline_enable_syntastic', 1))
|
||||
\ && exists(':SyntasticCheck')
|
||||
|
||||
Reference in new issue
Block a user