summaryrefslogtreecommitdiff
path: root/test/command_callback
diff options
context:
space:
mode:
authorBen Linsay <blinsay@gmail.com>2020-11-18 20:39:07 -0500
committerBen Linsay <blinsay@gmail.com>2020-11-18 22:22:16 -0500
commitddfc43e774fd38e4051ba9fd3619ca9f0da6639f (patch)
tree0e548cb19ddcd62cea2772a9ee229c6e4507c742 /test/command_callback
parent48fe0dd4f629bb1282277ba8a6757a84c13a4dda (diff)
downloadale-ddfc43e774fd38e4051ba9fd3619ca9f0da6639f.zip
pass lsp intialization_options to rust-analyzer
fixes #3350
Diffstat (limited to 'test/command_callback')
-rw-r--r--test/command_callback/test_rust_analyzer_callbacks.vader4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/command_callback/test_rust_analyzer_callbacks.vader b/test/command_callback/test_rust_analyzer_callbacks.vader
index 95866076..efab1378 100644
--- a/test/command_callback/test_rust_analyzer_callbacks.vader
+++ b/test/command_callback/test_rust_analyzer_callbacks.vader
@@ -16,5 +16,5 @@ Execute(The project root should be detected correctly):
Execute(Should accept configuration settings):
AssertLSPConfig {}
- let b:ale_rust_analyzer_config = {'rust': {'clippy_preference': 'on'}}
- AssertLSPConfig {'rust': {'clippy_preference': 'on'}}
+ let b:ale_rust_analyzer_config = {'diagnostics': {'disabled': ['unresolved-import']}}
+ AssertLSPOptions {'diagnostics': {'disabled': ['unresolved-import']}}