mirror of https://github.com/dense-analysis/ale
12 lines
314 B
VimL
12 lines
314 B
VimL
|
" Author: Matthias Guenther - https://wikimatze.de
|
||
|
" Description: erb-lint for eruby/erb files
|
||
|
|
||
|
call ale#linter#Define('eruby', {
|
||
|
\ 'name': 'erubylint',
|
||
|
\ 'executable': 'erb',
|
||
|
\ 'output_stream': 'stderr',
|
||
|
\ 'command': 'erb -P -x %t | ruby -c',
|
||
|
\ 'callback': 'ale#handlers#ruby#HandleSyntaxErrors',
|
||
|
\})
|
||
|
|