1
0
Fork 0
mirror of synced 2024-06-02 15:31:09 -04:00
ultimate-vim/sources_non_forked/ale/ale_linters/ruby/ruby.vim
2022-11-21 23:06:50 +08:00

13 lines
379 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': {b -> ale#Var(b, 'ruby_ruby_executable')},
\ 'command': '%e -w -c %t',
\ 'output_stream': 'stderr',
\ 'callback': 'ale#handlers#ruby#HandleSyntaxErrors',
\})