summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRob Watson <rob@netflux.io>2021-02-03 14:49:27 +0100
committerRob Watson <rob@netflux.io>2021-02-03 14:49:27 +0100
commit26b92f73b5e0f54b0053cf2bd69b79f4f01afe91 (patch)
treec8b4d5cd3edacefb1afc0fc85a65895925298e10 /test
parent9b5c09047361f3ec2cf18afbb6d1e03047a59778 (diff)
downloadale-26b92f73b5e0f54b0053cf2bd69b79f4f01afe91.zip
gopls: add go_gopls_init_options
Diffstat (limited to 'test')
-rw-r--r--test/command_callback/test_gopls_command_callback.vader3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/command_callback/test_gopls_command_callback.vader b/test/command_callback/test_gopls_command_callback.vader
index 73fcbf03..590d8458 100644
--- a/test/command_callback/test_gopls_command_callback.vader
+++ b/test/command_callback/test_gopls_command_callback.vader
@@ -36,6 +36,9 @@ Execute(should set gopls options):
AssertLinter 'gopls',
\ ale#Escape('gopls') . ' --mode stdio --trace'
+ let b:ale_go_gopls_init_options = {'ui.diagnostic.analyses': {'composites': v:false}}
+ AssertLSPOptions {'ui.diagnostic.analyses': {'composites': v:false}}
+
Execute(should support go environment variables):
let b:ale_go_go111module = 'off'