From ed7f4dee532718bd299c42738a3631824b37b5d0 Mon Sep 17 00:00:00 2001 From: Nathan Henrie Date: Wed, 17 Mar 2021 16:55:50 -0700 Subject: issue 3033 (#3620) * Add ale_python_pyls_options * Add extra explanatory detail * Fix alignment * Fix test --- test/command_callback/test_pyls_command_callback.vader | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/command_callback') diff --git a/test/command_callback/test_pyls_command_callback.vader b/test/command_callback/test_pyls_command_callback.vader index aff2fcd7..c03b8aeb 100644 --- a/test/command_callback/test_pyls_command_callback.vader +++ b/test/command_callback/test_pyls_command_callback.vader @@ -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') -- cgit v1.2.3