Fix #1219 - Mention FindProjectRoot behavior for Python in the documentation

This commit is contained in:
w0rp
2018-05-30 20:09:33 +01:00
parent f95bc00bd6
commit bd92616e2a
2 changed files with 31 additions and 0 deletions

View File

@@ -15,6 +15,7 @@ let g:ale_virtualenv_dir_names = get(g:, 'ale_virtualenv_dir_names', [
function! ale#python#FindProjectRootIni(buffer) abort
for l:path in ale#path#Upwards(expand('#' . a:buffer . ':p:h'))
" If you change this, update ale-python-root documentation.
if filereadable(l:path . '/MANIFEST.in')
\|| filereadable(l:path . '/setup.cfg')
\|| filereadable(l:path . '/pytest.ini')