diff --git a/autoload/ale/python.vim b/autoload/ale/python.vim index 779844a2..40433d17 100644 --- a/autoload/ale/python.vim +++ b/autoload/ale/python.vim @@ -34,7 +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') + \|| filereadable(l:path . '/.tool-versions') return l:path endif endfor diff --git a/doc/ale-python.txt b/doc/ale-python.txt index 21dee657..7d390d54 100644 --- a/doc/ale-python.txt +++ b/doc/ale-python.txt @@ -38,7 +38,7 @@ ALE will look for configuration files with the following filenames. > Pipfile.lock poetry.lock pyproject.toml - .tool_versions + .tool-versions < The first directory containing any of the files named above will be used.