mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-07 05:04:28 +08:00
Remove a Unicode character Vint complains about
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user