Give up trying to set an encoding for erb.

This commit is contained in:
LCD 47 2013-06-19 11:47:27 +03:00
parent c21f9e0f86
commit 2cbcf7dcc7

View File

@ -28,7 +28,9 @@ function! SyntaxCheckers_eruby_erb_IsAvailable()
endfunction
function! SyntaxCheckers_eruby_erb_GetLocList()
let enc = &fileencoding != '' ? &fileencoding : &encoding
" TODO: fix the encoding trainwreck
" let enc = &fileencoding != '' ? &fileencoding : &encoding
let enc = ''
let makeprg = syntastic#makeprg#build({
\ 'exe': g:syntastic_erb_exec,