summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-05-30 20:09:33 +0100
committerw0rp <devw0rp@gmail.com>2018-05-30 20:09:33 +0100
commitbd92616e2a47e959faf7a20537e1248f3f882885 (patch)
tree7002ede6f946359d7e82d5fc3ccb5f0900827f85 /autoload
parentf95bc00bd6d10df5b55404f8ab4459068f1f6424 (diff)
downloadale-bd92616e2a47e959faf7a20537e1248f3f882885.zip
Fix #1219 - Mention FindProjectRoot behavior for Python in the documentation
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/python.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/autoload/ale/python.vim b/autoload/ale/python.vim
index 82dd9d7c..cdc71cdd 100644
--- a/autoload/ale/python.vim
+++ b/autoload/ale/python.vim
@@ -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')