Remove a Unicode character Vint complains about
This commit is contained in:
parent
8be85c2997
commit
e6fb32b792
@ -10,7 +10,7 @@ function! ale_linters#eruby#erubis#GetCommand(buffer) abort
|
|||||||
|
|
||||||
" Rails-flavored eRuby does not comply with the standard as understood by
|
" Rails-flavored eRuby does not comply with the standard as understood by
|
||||||
" Erubis, so we'll have to do some substitution. This does not reduce the
|
" Erubis, so we'll have to do some substitution. This does not reduce the
|
||||||
" effectiveness of the linter—the translated code is still evaluated.
|
" effectiveness of the linter - the translated code is still evaluated.
|
||||||
return 'ruby -r erubis -e ' . ale#Escape('puts Erubis::Eruby.new($stdin.read.gsub(%{<%=},%{<%})).src') . '< %t | ruby -c'
|
return 'ruby -r erubis -e ' . ale#Escape('puts Erubis::Eruby.new($stdin.read.gsub(%{<%=},%{<%})).src') . '< %t | ruby -c'
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user