summaryrefslogtreecommitdiff
path: root/test/command_callback
diff options
context:
space:
mode:
authorKim Joseph S. Sadomia <kimsadomia@protonmail.com>2018-10-12 13:03:06 +0800
committerKim Joseph S. Sadomia <kimsadomia@protonmail.com>2018-10-12 13:03:06 +0800
commit12409fa73d0d7c91f16ae4772a0b96476d6948b6 (patch)
tree91929f9acb4b09a57434a2d1d80c478754c3c9c0 /test/command_callback
parente5b5ce9f512d4a36e944f728f4d1ff5d8238c64f (diff)
downloadale-12409fa73d0d7c91f16ae4772a0b96476d6948b6.zip
Expose ruby-solargraph initialization options
Diffstat (limited to 'test/command_callback')
-rw-r--r--test/command_callback/test_ruby_solargraph.vader5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/command_callback/test_ruby_solargraph.vader b/test/command_callback/test_ruby_solargraph.vader
index b39f686e..b530cd31 100644
--- a/test/command_callback/test_ruby_solargraph.vader
+++ b/test/command_callback/test_ruby_solargraph.vader
@@ -37,3 +37,8 @@ Execute(should set solargraph for ruby app3):
AssertLSPLanguage 'ruby'
AssertLSPOptions {}
AssertLSPProject ale#path#Simplify(g:dir . 'command_callback/../ruby_fixtures/valid_ruby_app3')
+
+Execute(should accept initialization options):
+ AssertLSPOptions {}
+ let b:ale_ruby_solargraph_init_options = { 'diagnostics': 'true' }
+ AssertLSPOptions { 'diagnostics': 'true' }