summaryrefslogtreecommitdiff
path: root/ale_linters/eruby/erubylint.vim
blob: 2ff03c322b6f96044421a026b70dc38953ad30eb (plain)
1
2
3
4
5
6
7
8
9
10
11
" 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',
\})