summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--autoload/ale/python.vim1
-rw-r--r--doc/ale-python.txt1
2 files changed, 2 insertions, 0 deletions
diff --git a/autoload/ale/python.vim b/autoload/ale/python.vim
index fc6c1130..779844a2 100644
--- a/autoload/ale/python.vim
+++ b/autoload/ale/python.vim
@@ -34,6 +34,7 @@ function! ale#python#FindProjectRootIni(buffer) abort
\|| filereadable(l:path . '/Pipfile.lock')
\|| filereadable(l:path . '/poetry.lock')
\|| filereadable(l:path . '/pyproject.toml')
+ \|| filereadable(l:path . '/.tool_versions')
return l:path
endif
endfor
diff --git a/doc/ale-python.txt b/doc/ale-python.txt
index 6deff8f2..21dee657 100644
--- a/doc/ale-python.txt
+++ b/doc/ale-python.txt
@@ -38,6 +38,7 @@ ALE will look for configuration files with the following filenames. >
Pipfile.lock
poetry.lock
pyproject.toml
+ .tool_versions
<
The first directory containing any of the files named above will be used.