From c1c3873c89503118b1ce34e71e2fa47ebe6631e5 Mon Sep 17 00:00:00 2001 From: foobarbyte <61650320+foobarbyte@users.noreply.github.com> Date: Tue, 20 Jul 2021 09:14:45 +0000 Subject: [PATCH] Correct typo in python config filenames (#3826) * Correct typo in a config file filename. .tool_versions should be .tool-versions * Correct typo in config file names. .tool_versions should be .tool-versions --- autoload/ale/python.vim | 2 +- doc/ale-python.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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.