summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorAuri <me@aurieh.me>2017-11-08 19:58:56 +0200
committerw0rp <w0rp@users.noreply.github.com>2017-11-08 17:58:56 +0000
commit8a4cf923a8a3017fa683bd27d699d9b14720cd66 (patch)
tree7938bae1f68a36c332d3121ed6a1e58b5f8233c0 /autoload
parent86e807401795e3dcc9cac63dd3deb1323d048f13 (diff)
downloadale-8a4cf923a8a3017fa683bd27d699d9b14720cd66.zip
Add PyLS linter (#1097)
* Support PyLS (python language server) * Replace pyls#GetProjectRoot and add more config types to ale#python#FindProjectRoot
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 2a15f454..90721ef1 100644
--- a/autoload/ale/python.vim
+++ b/autoload/ale/python.vim
@@ -18,6 +18,8 @@ function! ale#python#FindProjectRootIni(buffer) abort
\|| filereadable(l:path . '/setup.cfg')
\|| filereadable(l:path . '/pytest.ini')
\|| filereadable(l:path . '/tox.ini')
+ \|| filereadable(l:path . '/pycodestyle.cfg')
+ \|| filereadable(l:path . '/flake8.cfg')
return l:path
endif
endfor