2017-04-08 10:24:20 +00:00
|
|
|
" Author: Brandon Roehl - https://github.com/BrandonRoehl
|
|
|
|
" Description: Ruby MRI for Ruby files
|
|
|
|
|
2017-11-28 09:47:04 +00:00
|
|
|
call ale#Set('ruby_ruby_executable', 'ruby')
|
|
|
|
|
2017-04-08 10:24:20 +00:00
|
|
|
call ale#linter#Define('ruby', {
|
|
|
|
\ 'name': 'ruby',
|
2018-08-02 22:44:12 +00:00
|
|
|
\ 'executable_callback': ale#VarFunc('ruby_ruby_executable'),
|
|
|
|
\ 'command': '%e -w -c -T1 %t',
|
2017-04-08 10:24:20 +00:00
|
|
|
\ 'output_stream': 'stderr',
|
2017-04-25 17:38:02 +00:00
|
|
|
\ 'callback': 'ale#handlers#ruby#HandleSyntaxErrors',
|
2017-04-08 10:24:20 +00:00
|
|
|
\})
|