From f2db164268378e6e7ddfa3adfb70ebb6eb47a5a5 Mon Sep 17 00:00:00 2001 From: yut23 Date: Sun, 20 Jan 2019 23:52:44 -0500 Subject: Add support for pyls configuration options Resolves #1443. Heavily inspired by the analogous support added for elixir-ls. --- 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 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}}}} -- cgit v1.2.3