mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-09 22:14:44 +08:00
Add solargraph.yml file as root path search file.
Solargraph allows to set configuration options by creating a .solargraph.yml file at the root of the project using it. Therfore this file is a good canditate for finding ruby projects root paths. Initial discussion: https://github.com/w0rp/ale/issues/1874#issuecomment-418316168
This commit is contained in:
@@ -27,3 +27,10 @@ Execute(should set solargraph for ruby app2):
|
||||
AssertLSPOptions {}
|
||||
AssertLSPProject ale#path#Simplify(g:dir . 'command_callback/../ruby_fixtures/valid_ruby_app2')
|
||||
AssertLSPAddress '127.0.0.1:7658'
|
||||
|
||||
Execute(should set solargraph for ruby app3):
|
||||
call ale#test#SetFilename('../ruby_fixtures/valid_ruby_app3/lib/file.rb')
|
||||
AssertLSPLanguage 'ruby'
|
||||
AssertLSPOptions {}
|
||||
AssertLSPProject ale#path#Simplify(g:dir . 'command_callback/../ruby_fixtures/valid_ruby_app3')
|
||||
AssertLSPAddress '127.0.0.1:7658'
|
||||
|
||||
Reference in New Issue
Block a user