mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-31 08:34:30 +08:00
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>
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user