e149692cc9
subrepo: subdir: "dotfiles/.vim/plugged/ale" merged: "e4b205440" upstream: origin: "https://github.com/dense-analysis/ale.git" branch: "master" commit: "e4b205440" git-subrepo: version: "0.4.3" origin: "???" commit: "???"
12 lines
379 B
VimL
12 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',
|
|
\})
|