issue 3033 (#3620)

* Add ale_python_pyls_options

* Add extra explanatory detail

* Fix alignment

* Fix test
This commit is contained in:
Nathan Henrie authored and GitHub committed 2021-03-18 08:55:50 +09:00
1 parent dc40ece3c3
commit ed7f4dee53
3 files changed
+26 -1

No files matched your search

@@ -17,6 +17,11 @@ Execute(The pyls executable should be configurable):
AssertLinter '~/.local/bin/pyls' , ale#Escape('~/.local/bin/pyls')
Execute(The pyls command callback should let you set options):
let g:ale_python_pyls_options = '--some-option'
AssertLinter 'pyls', ale#Escape('pyls') . ' --some-option'
Execute(The pyls executable should be run from the virtualenv path):
call ale#test#SetFilename('python_paths/with_virtualenv/subdir/foo/bar.py')