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:
w0rp
2018-09-06 20:34:34 +01:00
committed by GitHub
4 changed files with 8 additions and 1 deletions

View File

@@ -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'