From 8a4cf923a8a3017fa683bd27d699d9b14720cd66 Mon Sep 17 00:00:00 2001 From: Auri Date: Wed, 8 Nov 2017 19:58:56 +0200 Subject: Add PyLS linter (#1097) * Support PyLS (python language server) * Replace pyls#GetProjectRoot and add more config types to ale#python#FindProjectRoot --- autoload/ale/python.vim | 2 ++ 1 file changed, 2 insertions(+) (limited to 'autoload') 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 -- cgit v1.2.3