issue 3033 (#3620)

* Add ale_python_pyls_options

* Add extra explanatory detail

* Fix alignment

* Fix test
This commit is contained in:
Nathan Henrie
2021-03-17 16:55:50 -07:00
committed by GitHub
parent dc40ece3c3
commit ed7f4dee53
3 changed files with 26 additions and 1 deletions

View File

@@ -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')