diff options
author | Jelte Fennema <github-tech@jeltef.nl> | 2017-12-13 14:59:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-13 14:59:59 +0100 |
commit | e7eb27271496ad5e2cb6ea6a145d86ef63501c99 (patch) | |
tree | a137d4f7e58f91d386c40e1bcb26871fb43c6aad /ale_linters/eruby | |
parent | d2a6d9a9152476ed89fcb10291c95d4fc3716423 (diff) | |
download | ale-e7eb27271496ad5e2cb6ea6a145d86ef63501c99.zip |
Fix erb linter for puppet style erb scripts
Diffstat (limited to 'ale_linters/eruby')
-rw-r--r-- | ale_linters/eruby/erb.vim | 2 |
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 |