summaryrefslogtreecommitdiff
path: root/ale_linters/eruby/erubis.vim
blob: be9332dfc49018f859e7be11a95a48887e49574e (plain)
1
2
3
4
5
6
7
8
9
10
11
" Author: Jake Zimmerman <jake@zimmerman.io>
" Description: eruby checker using `erubis`, instead of `erb`

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