diff options
author | Horacio Sanson <hsanson@gmail.com> | 2021-01-13 22:07:02 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-13 22:07:02 +0900 |
commit | aabca5b0ac01cdda0768c84b3dc045b85cb71a6c (patch) | |
tree | 9551b097b6b8a2d03b53bef47905f99e3f5cfe4e /autoload | |
parent | 012348582c72716c8712e65d2c8456b1c3c2b42c (diff) | |
parent | f125c11faa778f30fcd775b4104a2271dccf6b6c (diff) | |
download | ale-aabca5b0ac01cdda0768c84b3dc045b85cb71a6c.zip |
Merge pull request #3398 from ecly/update-python-find-root
Update `ale#python#FindProjectRootIni` with poetry.lock and pyproject.toml
Diffstat (limited to 'autoload')
-rw-r--r-- | autoload/ale/python.vim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/autoload/ale/python.vim b/autoload/ale/python.vim index 7ed22367..fc6c1130 100644 --- a/autoload/ale/python.vim +++ b/autoload/ale/python.vim @@ -32,6 +32,8 @@ function! ale#python#FindProjectRootIni(buffer) abort \|| filereadable(l:path . '/.pylintrc') \|| filereadable(l:path . '/Pipfile') \|| filereadable(l:path . '/Pipfile.lock') + \|| filereadable(l:path . '/poetry.lock') + \|| filereadable(l:path . '/pyproject.toml') return l:path endif endfor |