summaryrefslogtreecommitdiff
path: root/test/command_callback
diff options
context:
space:
mode:
authoryut23 <yut23@gvljohnsons.com>2019-01-20 23:52:44 -0500
committeryut23 <yut23@gvljohnsons.com>2019-01-20 23:59:46 -0500
commitf2db164268378e6e7ddfa3adfb70ebb6eb47a5a5 (patch)
tree04f64dd599de040d021a01951fa11c37c243fbc6 /test/command_callback
parentd1fc084b2d3af6dd9807a01a6ca7822af6c2a78f (diff)
downloadale-f2db164268378e6e7ddfa3adfb70ebb6eb47a5a5.zip
Add support for pyls configuration options
Resolves #1443. Heavily inspired by the analogous support added for elixir-ls.
Diffstat (limited to 'test/command_callback')
-rw-r--r--test/command_callback/test_pyls_command_callback.vader5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/command_callback/test_pyls_command_callback.vader b/test/command_callback/test_pyls_command_callback.vader
index 531b5b3b..aff2fcd7 100644
--- a/test/command_callback/test_pyls_command_callback.vader
+++ b/test/command_callback/test_pyls_command_callback.vader
@@ -45,3 +45,8 @@ Execute(Pipenv is detected when python_pyls_auto_pipenv is set):
AssertLinter 'pipenv',
\ ale#Escape('pipenv') . ' run pyls'
+
+Execute(Should accept configuration settings):
+ AssertLSPConfig {}
+ let b:ale_python_pyls_config = {'pyls': {'plugins': {'preload': {'enabled': v:false}}}}
+ AssertLSPConfig {'pyls': {'plugins': {'preload': {'enabled': v:false}}}}