mirror of
https://github.com/vim-airline/vim-airline.git
synced 2024-11-23 02:27:55 +08:00
Merge pull request #2059 from languitar/patch-1
Always obey the poetv#enabled setting
This commit is contained in:
commit
3fdfdc9963
|
@ -290,7 +290,7 @@ function! airline#extensions#load()
|
|||
elseif (get(g:, 'airline#extensions#virtualenv#enabled', 1) && (exists(':VirtualEnvList')))
|
||||
call airline#extensions#virtualenv#init(s:ext)
|
||||
call add(s:loaded_ext, 'virtualenv')
|
||||
elseif (isdirectory($VIRTUAL_ENV))
|
||||
elseif (get(g:, 'airline#extensions#poetv#enabled', 1) && (isdirectory($VIRTUAL_ENV)))
|
||||
call airline#extensions#poetv#init(s:ext)
|
||||
call add(s:loaded_ext, 'poetv')
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue
Block a user