support running solargraph via bundle (#5097)
Some checks are pending
CI / build_image (push) Waiting to run
CI / test_ale (--linters-only) (push) Blocked by required conditions
CI / test_ale (--lua-only) (push) Blocked by required conditions
CI / test_ale (--neovim-07-only) (push) Blocked by required conditions
CI / test_ale (--neovim-08-only) (push) Blocked by required conditions
CI / test_ale (--vim-80-only) (push) Blocked by required conditions
CI / test_ale (--vim-90-only) (push) Blocked by required conditions

This commit is contained in:
Evgeni Golov
2026-02-17 21:26:48 +01:00
committed by GitHub
parent cb8c4662aa
commit 69c945d5da
3 changed files with 13 additions and 3 deletions

View File

@@ -13,6 +13,13 @@ Execute(command callback executable can be overridden):
let g:ale_ruby_solargraph_executable = 'foobar'
AssertLinter 'foobar', ale#Escape('foobar') . ' stdio'
Execute(Setting bundle appends 'exec solargraph'):
let g:ale_ruby_solargraph_executable = 'path to/bundle'
AssertLinter 'path to/bundle', ale#Escape('path to/bundle')
\ . ' exec solargraph'
\ . ' stdio'
Execute(should set solargraph for rails app):
call ale#test#SetFilename('../test-files/ruby/valid_rails_app/app/models/thing.rb')
AssertLSPLanguage 'ruby'