summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorHoracio Sanson <hsanson@gmail.com>2021-01-13 22:07:02 +0900
committerGitHub <noreply@github.com>2021-01-13 22:07:02 +0900
commitaabca5b0ac01cdda0768c84b3dc045b85cb71a6c (patch)
tree9551b097b6b8a2d03b53bef47905f99e3f5cfe4e /autoload
parent012348582c72716c8712e65d2c8456b1c3c2b42c (diff)
parentf125c11faa778f30fcd775b4104a2271dccf6b6c (diff)
downloadale-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.vim2
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