Always obey the poetv#enabled setting
Do not silently enable an extension even though the `enabled` setting is false. This would resolve #2058
This commit is contained in:
parent
f659a98d50
commit
5c1f3b426b
|
@ -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