mirror of
https://github.com/vim-airline/vim-airline.git
synced 2024-11-23 03:46:46 +08:00
fix virtualenv_loaded check.
This commit is contained in:
parent
3fba032439
commit
609b4ab573
|
@ -181,7 +181,7 @@ function! airline#extensions#load()
|
|||
call airline#extensions#bufferline#init(s:ext)
|
||||
endif
|
||||
|
||||
if (get(g:, 'virtualenv_loaded', 1) && get(g:, 'airline#extensions#virtualenv#enabled', 1))
|
||||
if get(g:, 'virtualenv_loaded', 0) && get(g:, 'airline#extensions#virtualenv#enabled', 1)
|
||||
call airline#extensions#virtualenv#init(s:ext)
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user