summaryrefslogtreecommitdiff
path: root/ale_linters
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2017-12-19 14:09:00 +0000
committerGitHub <noreply@github.com>2017-12-19 14:09:00 +0000
commita7d51afda5934636ede2af39cf99576b7e583dff (patch)
treeef3378df98e841f1e14de6ebb39f22ed8741f180 /ale_linters
parent2cacba5758614beadee38e493df957206aae8dde (diff)
parent532594839c2ee435e9f240bb699694b991fac56e (diff)
downloadale-a7d51afda5934636ede2af39cf99576b7e583dff.zip
Merge pull request #1221 from JelteF/patch-1
Fix erb linter for puppet style erb templates
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