summaryrefslogtreecommitdiff
path: root/ale_linters
diff options
context:
space:
mode:
authorJelte Fennema <github-tech@jeltef.nl>2017-12-13 14:59:59 +0100
committerGitHub <noreply@github.com>2017-12-13 14:59:59 +0100
commite7eb27271496ad5e2cb6ea6a145d86ef63501c99 (patch)
treea137d4f7e58f91d386c40e1bcb26871fb43c6aad /ale_linters
parentd2a6d9a9152476ed89fcb10291c95d4fc3716423 (diff)
downloadale-e7eb27271496ad5e2cb6ea6a145d86ef63501c99.zip
Fix erb linter for puppet style erb scripts
Diffstat (limited to 'ale_linters')
-rw-r--r--ale_linters/eruby/erb.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/eruby/erb.vim b/ale_linters/eruby/erb.vim
index 65de18ee..61d97032 100644
--- a/ale_linters/eruby/erb.vim
+++ b/ale_linters/eruby/erb.vim
@@ -5,7 +5,7 @@ function! ale_linters#eruby#erb#GetCommand(buffer) abort
let l:rails_root = ale#ruby#FindRailsRoot(a:buffer)
if empty(l:rails_root)
- return 'erb -P -x %t | ruby -c'
+ return 'erb -P -T - -x %t | ruby -c'
endif
" Rails-flavored eRuby does not comply with the standard as understood by