diff options
author | Andreas Doll <fuseki@posteo.de> | 2022-09-30 04:21:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-30 11:21:09 +0900 |
commit | 915dc415f304b0acb9026194dbe81abae8bf9099 (patch) | |
tree | 29595cfcacc054621fdf72dc383bf71fb566e0f8 /autoload | |
parent | 78942df284a4a00c59a6edcc187684cdbc333fb9 (diff) | |
download | ale-915dc415f304b0acb9026194dbe81abae8bf9099.zip |
Add pyright config files to project root files list (#4321)
Add configuration files for pyright (JSON and TOML) to list of files
which identify a project root directory. Update documentation
accordingly.
Co-authored-by: Andreas Doll <andreas.doll@posteo.de>
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 4dc01798..7a998414 100644 --- a/autoload/ale/python.vim +++ b/autoload/ale/python.vim @@ -33,6 +33,8 @@ function! ale#python#FindProjectRootIni(buffer) abort \|| filereadable(l:path . '/pylama.ini') \|| filereadable(l:path . '/pylintrc') \|| filereadable(l:path . '/.pylintrc') + \|| filereadable(l:path . '/pyrightconfig.json') + \|| filereadable(l:path . '/pyrightconfig.toml') \|| filereadable(l:path . '/Pipfile') \|| filereadable(l:path . '/Pipfile.lock') \|| filereadable(l:path . '/poetry.lock') |