dont treat "Syntax OK" for ruby syntax checker

This commit is contained in:
Martin Grenfell 2009-07-11 16:47:57 +12:00
parent 3d74f6df47
commit 6885b2ecd9

View File

@ -21,7 +21,7 @@ endif
function! SyntaxCheckers_ruby_GetQFList()
set makeprg=ruby\ -c\ %
set errorformat=%A%f:%l:\ syntax\ error\\,\ %m,%Z%p^,%-C%.%#
set errorformat=%-GSyntax\ OK,%A%f:%l:\ syntax\ error\\,\ %m,%Z%p^,%-C%.%#
silent make!
return getqflist()
endfunction