summaryrefslogtreecommitdiff
path: root/ale_linters/eruby/erb.vim
blob: 18f92b3b81725d2319c50a691d06c0e94e77b36c (plain)
1
2
3
4
5
6
7
8
9
10
11
" Author: Matthias Guenther - https://wikimatze.de
" Description: ERB from the Ruby standard library, for eruby/erb files

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