mirror of
https://github.com/dense-analysis/ale.git
synced 2026-02-15 14:32:05 +08:00
Merge pull request #1883 from hsanson/add-solargraph-yml-to-root-path-search
Add solargraph.yml file as root path search file.
This commit is contained in:
@@ -29,7 +29,7 @@ function! ale#ruby#FindProjectRoot(buffer) abort
|
||||
return l:dir
|
||||
endif
|
||||
|
||||
for l:name in ['Rakefile', 'Gemfile']
|
||||
for l:name in ['.solargraph.yml', 'Rakefile', 'Gemfile']
|
||||
let l:dir = fnamemodify(
|
||||
\ ale#path#FindNearestFile(a:buffer, l:name),
|
||||
\ ':h'
|
||||
|
||||
Reference in New Issue
Block a user