Set default value for python_isort_auto_pipenv
This commit is contained in:
parent
64471e6ea8
commit
ae86d10e48
1 changed files with 2 additions and 1 deletions
|
@ -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'))
|
||||||
|
|
Reference in a new issue