1
0
Fork 0
mirror of synced 2024-11-29 20:25:34 -05:00
ultimate-vim/sources_non_forked/ale/ale_linters/ruby/ruby.vim

13 lines
379 B
VimL
Raw Normal View History

" 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',
\ 'output_stream': 'stderr',
\ 'callback': 'ale#handlers#ruby#HandleSyntaxErrors',
\})