bugfix for eruby checker

This commit is contained in:
Martin Grenfell 2013-01-30 17:03:36 +00:00
parent a4a7b5697c
commit 4552884c6c

View File

@ -16,7 +16,7 @@ endif
function! SyntaxCheckers_eruby_ruby_IsAvailable() function! SyntaxCheckers_eruby_ruby_IsAvailable()
executable(expand(g:syntastic_ruby_exec)) return executable(expand(g:syntastic_ruby_exec))
endfunction endfunction
function! SyntaxCheckers_eruby_ruby_GetLocList() function! SyntaxCheckers_eruby_ruby_GetLocList()
@ -36,5 +36,5 @@ function! SyntaxCheckers_eruby_ruby_GetLocList()
endfunction endfunction
call g:SyntasticRegistry.CreateAndRegisterChecker({ call g:SyntasticRegistry.CreateAndRegisterChecker({
\ 'filetype': 'erlang', \ 'filetype': 'eruby',
\ 'name': 'ruby'}) \ 'name': 'ruby'})