mirror of
https://github.com/dense-analysis/ale
synced 2024-12-24 15:13:02 +00:00
13 lines
386 B
VimL
13 lines
386 B
VimL
" 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',
|
|
\ 'executable_callback': ale#VarFunc('ruby_ruby_executable'),
|
|
\ 'command': '%e -w -c -T1 %t',
|
|
\ 'output_stream': 'stderr',
|
|
\ 'callback': 'ale#handlers#ruby#HandleSyntaxErrors',
|
|
\})
|