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 authored and GitHub committed 2018-09-06 20:34:34 +01:00
commit e0fe97e0a8
4 files changed
+8 -1

No files matched your search

+1 -1
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'