1
0
Fork 0
mirror of synced 2024-05-28 04:51:12 -04:00
ultimate-vim/sources_non_forked/ale/ale_linters/ruby/ruby.vim
Amir Salihefendic 6bd9eda8c3 Updated plugins
2018-08-25 18:13:42 +02:00

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',
\})