From e7eb27271496ad5e2cb6ea6a145d86ef63501c99 Mon Sep 17 00:00:00 2001 From: Jelte Fennema Date: Wed, 13 Dec 2017 14:59:59 +0100 Subject: [PATCH] Fix erb linter for puppet style erb scripts --- ale_linters/eruby/erb.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ale_linters/eruby/erb.vim b/ale_linters/eruby/erb.vim index 65de18e..61d9703 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