diff options
author | w0rp <w0rp@users.noreply.github.com> | 2017-08-22 10:33:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-22 10:33:08 +0100 |
commit | 9d3bda4441a293eac47050428fee7fb4879547d7 (patch) | |
tree | e8c30933ad0cd844965a556025781b7c2cb9d82e /ale_linters | |
parent | a3299bf03a405207347d8d06c28b65af1e0a5092 (diff) | |
parent | b356d564483d68ffbd7cc11436d3484148cf39fb (diff) | |
download | ale-9d3bda4441a293eac47050428fee7fb4879547d7.zip |
Merge pull request #865 from jez/erubis-linter
Add erubis linter
Diffstat (limited to 'ale_linters')
-rw-r--r-- | ale_linters/eruby/erubis.vim | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ale_linters/eruby/erubis.vim b/ale_linters/eruby/erubis.vim new file mode 100644 index 00000000..be9332df --- /dev/null +++ b/ale_linters/eruby/erubis.vim @@ -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', +\}) + |