summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorAndreas Doll <fuseki@posteo.de>2022-09-30 04:21:09 +0200
committerGitHub <noreply@github.com>2022-09-30 11:21:09 +0900
commit915dc415f304b0acb9026194dbe81abae8bf9099 (patch)
tree29595cfcacc054621fdf72dc383bf71fb566e0f8 /autoload
parent78942df284a4a00c59a6edcc187684cdbc333fb9 (diff)
downloadale-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.vim2
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')