diff --git a/syntax_checkers/ruby.vim b/syntax_checkers/ruby.vim index 5ce1becc..e79222e9 100644 --- a/syntax_checkers/ruby.vim +++ b/syntax_checkers/ruby.vim @@ -10,6 +10,7 @@ endif function! SyntaxCheckers_ruby_GetQFList() set makeprg=ruby\ -c\ % + set errorformat=%A%f:%l:\ syntax\ error\\,\ %m,%Z%p^,%-C%.%# silent make! return getqflist() endfunction