mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-23 12:31:30 +08:00
issue 3033 (#3620)
* Add ale_python_pyls_options * Add extra explanatory detail * Fix alignment * Fix test
This commit is contained in:
@@ -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')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user