You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
314 B
VimL
12 lines
314 B
VimL
7 years ago
|
" 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',
|
||
|
\})
|
||
|
|