From ad555bc093f9c17a56b0724517d3da2f25bd36c8 Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Sat, 11 Jul 2009 15:56:48 +1200 Subject: [PATCH] correct &errorformat for ruby --- syntax_checkers/ruby.vim | 1 + 1 file changed, 1 insertion(+) 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