mirror of
https://github.com/dense-analysis/ale.git
synced 2026-03-01 04:52:28 +08:00
11
ale_linters/eruby/erubis.vim
Normal file
11
ale_linters/eruby/erubis.vim
Normal file
@@ -0,0 +1,11 @@
|
||||
" 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',
|
||||
\})
|
||||
|
||||
Reference in New Issue
Block a user