Set default value for python_isort_auto_pipenv

This commit is contained in:
Ivor Peles 2020-10-06 04:00:45 -04:00
parent 64471e6ea8
commit ae86d10e48

View file

@ -2,8 +2,9 @@
" Description: Fixing Python imports with isort. " Description: Fixing Python imports with isort.
call ale#Set('python_isort_executable', 'isort') call ale#Set('python_isort_executable', 'isort')
call ale#Set('python_isort_options', '')
call ale#Set('python_isort_use_global', get(g:, 'ale_use_global_executables', 0)) call ale#Set('python_isort_use_global', get(g:, 'ale_use_global_executables', 0))
call ale#Set('python_isort_options', '')
call ale#Set('python_isort_auto_pipenv', 0)
function! ale#fixers#isort#GetExecutable(buffer) abort function! ale#fixers#isort#GetExecutable(buffer) abort
if (ale#Var(a:buffer, 'python_auto_pipenv') || ale#Var(a:buffer, 'python_isort_auto_pipenv')) if (ale#Var(a:buffer, 'python_auto_pipenv') || ale#Var(a:buffer, 'python_isort_auto_pipenv'))