1
0
Fork 0
mirror of synced 2024-11-15 05:28:57 -05:00
ultimate-vim/sources_non_forked/ale/ale_linters/ruby/ruby.vim

13 lines
386 B
VimL
Raw Normal View History

2018-10-14 09:43:54 -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',
\ 'executable_callback': ale#VarFunc('ruby_ruby_executable'),
\ 'command': '%e -w -c -T1 %t',
\ 'output_stream': 'stderr',
\ 'callback': 'ale#handlers#ruby#HandleSyntaxErrors',
\})