summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2019-01-21 09:10:57 +0000
committerGitHub <noreply@github.com>2019-01-21 09:10:57 +0000
commitbffb26cb72017c33be08d5ee74ec56b982bdf736 (patch)
tree04f64dd599de040d021a01951fa11c37c243fbc6 /test
parentd1fc084b2d3af6dd9807a01a6ca7822af6c2a78f (diff)
parentf2db164268378e6e7ddfa3adfb70ebb6eb47a5a5 (diff)
downloadale-bffb26cb72017c33be08d5ee74ec56b982bdf736.zip
Merge pull request #2230 from yut23/master
Add support for pyls configuration options
Diffstat (limited to 'test')
-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}}}}