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',
|
2019-03-08 06:04:56 -05:00
|
|
|
\ 'executable': {b -> ale#Var(b, 'ruby_ruby_executable')},
|
2021-10-28 15:48:21 -04:00
|
|
|
\ 'command': '%e -w -c %t',
|
2018-03-31 10:55:20 -04:00
|
|
|
\ 'output_stream': 'stderr',
|
|
|
|
\ 'callback': 'ale#handlers#ruby#HandleSyntaxErrors',
|
|
|
|
\})
|