diff options
author | w0rp <w0rp@users.noreply.github.com> | 2018-10-18 14:32:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-18 14:32:23 +0100 |
commit | 3bda13298860da5a88e114d812937e727d4e8f56 (patch) | |
tree | 8c33107d9cb00eff12a6ee3bc3746f18cffd4cb7 /ale_linters | |
parent | b8359c1114229737563bde4e2478ca2309ce6e7a (diff) | |
parent | cc1aece1e0f8ad162cc12947c8897cd93b33d299 (diff) | |
download | ale-3bda13298860da5a88e114d812937e727d4e8f56.zip |
Merge pull request #1991 from alskdj21/ruby_solargraph_init_options
Expose ruby-solargraph's initialization options
Diffstat (limited to 'ale_linters')
-rw-r--r-- | ale_linters/ruby/solargraph.vim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ale_linters/ruby/solargraph.vim b/ale_linters/ruby/solargraph.vim index 7ca0399f..5ff0a759 100644 --- a/ale_linters/ruby/solargraph.vim +++ b/ale_linters/ruby/solargraph.vim @@ -5,6 +5,7 @@ " Description: updated to use stdio call ale#Set('ruby_solargraph_executable', 'solargraph') +call ale#Set('ruby_solargraph_options', {}) function! ale_linters#ruby#solargraph#GetCommand(buffer) abort return '%e' . ale#Pad('stdio') @@ -17,4 +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_options'), \}) |