mirror of
https://github.com/dense-analysis/ale
synced 2024-12-27 08:32:24 +00:00
b356d56448
This linter works largely the same as the existing `erubylint` linter, except it works with `erubis` instead of `erb` as the driving command.
12 lines
325 B
VimL
12 lines
325 B
VimL
" 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',
|
|
\})
|
|
|