summaryrefslogtreecommitdiff
path: root/ale_linters/ruby/ruby.vim
blob: a9f7b51bc0a14fa6e1b3f156bdc08c0209897538 (plain)
1
2
3
4
5
6
7
8
9
10
" Author: Brandon Roehl - https://github.com/BrandonRoehl
" Description: Ruby MRI for Ruby files

call ale#linter#Define('ruby', {
\   'name': 'ruby',
\   'executable': 'ruby',
\   'output_stream': 'stderr',
\   'command': 'ruby -w -c -T1 %t',
\   'callback': 'ale#handlers#ruby#HandleSyntaxErrors',
\})