summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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