summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ale_linters/ruby/solargraph.vim4
-rw-r--r--test/command_callback/test_ruby_solargraph.vader2
2 files changed, 3 insertions, 3 deletions
diff --git a/ale_linters/ruby/solargraph.vim b/ale_linters/ruby/solargraph.vim
index 3b3eb9de..5ff0a759 100644
--- a/ale_linters/ruby/solargraph.vim
+++ b/ale_linters/ruby/solargraph.vim
@@ -5,7 +5,7 @@
" Description: updated to use stdio
call ale#Set('ruby_solargraph_executable', 'solargraph')
-call ale#Set('ruby_solargraph_init_options', {})
+call ale#Set('ruby_solargraph_options', {})
function! ale_linters#ruby#solargraph#GetCommand(buffer) abort
return '%e' . ale#Pad('stdio')
@@ -18,5 +18,5 @@ call ale#linter#Define('ruby', {
\ 'executable_callback': ale#VarFunc('ruby_solargraph_executable'),
\ 'command_callback': 'ale_linters#ruby#solargraph#GetCommand',
\ 'project_root_callback': 'ale#ruby#FindProjectRoot',
-\ 'initialization_options_callback': ale#VarFunc('ruby_solargraph_init_options'),
+\ 'initialization_options_callback': ale#VarFunc('ruby_solargraph_options'),
\})
diff --git a/test/command_callback/test_ruby_solargraph.vader b/test/command_callback/test_ruby_solargraph.vader
index b530cd31..c6aee271 100644
--- a/test/command_callback/test_ruby_solargraph.vader
+++ b/test/command_callback/test_ruby_solargraph.vader
@@ -40,5 +40,5 @@ Execute(should set solargraph for ruby app3):
Execute(should accept initialization options):
AssertLSPOptions {}
- let b:ale_ruby_solargraph_init_options = { 'diagnostics': 'true' }
+ let b:ale_ruby_solargraph_options = { 'diagnostics': 'true' }
AssertLSPOptions { 'diagnostics': 'true' }