summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNathan Henrie <n8henrie@users.noreply.github.com>2019-03-05 02:09:29 -0700
committerw0rp <w0rp@users.noreply.github.com>2019-03-05 09:09:29 +0000
commite5746d9a83a351144b4defb91f65cae7917766b5 (patch)
treed40073ebc91f059fc74beee36ed39ae1e2abeedb /test
parentc4328f2a31a8acac96ca8d7615231812bad700bf (diff)
downloadale-e5746d9a83a351144b4defb91f65cae7917766b5.zip
Add lsp_config support for rls (#2332)
* Add lsp_config for rls * Add working config example and test
Diffstat (limited to 'test')
-rw-r--r--test/command_callback/test_rust_rls_callbacks.vader5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/command_callback/test_rust_rls_callbacks.vader b/test/command_callback/test_rust_rls_callbacks.vader
index a710161d..ef4735d2 100644
--- a/test/command_callback/test_rust_rls_callbacks.vader
+++ b/test/command_callback/test_rust_rls_callbacks.vader
@@ -23,3 +23,8 @@ Execute(The project root should be detected correctly):
call ale#test#SetFilename('rust-rls-project/test.rs')
AssertLSPProject ale#path#Simplify(g:dir . '/rust-rls-project')
+
+Execute(Should accept configuration settings):
+ AssertLSPConfig {}
+ let b:ale_rust_rls_config = {'rust': {'clippy_preference': 'on'}}
+ AssertLSPConfig {'rust': {'clippy_preference': 'on'}}