2018-03-31 10:55:20 -04:00
|
|
|
" Author: Brandon Roehl - https://github.com/BrandonRoehl
|
|
|
|
" Description: Ruby MRI for Ruby files
|
|
|
|
|
|
|
|
call ale#Set('ruby_ruby_executable', 'ruby')
|
|
|
|
|
|
|
|
call ale#linter#Define('ruby', {
|
|
|
|
\ 'name': 'ruby',
|
2018-08-25 12:13:42 -04:00
|
|
|
\ 'executable_callback': ale#VarFunc('ruby_ruby_executable'),
|
|
|
|
\ 'command': '%e -w -c -T1 %t',
|
2018-03-31 10:55:20 -04:00
|
|
|
\ 'output_stream': 'stderr',
|
|
|
|
\ 'callback': 'ale#handlers#ruby#HandleSyntaxErrors',
|
|
|
|
\})
|