dont treat "Syntax OK" for ruby syntax checker
This commit is contained in:
parent
3d74f6df47
commit
6885b2ecd9
@ -21,7 +21,7 @@ endif
|
|||||||
|
|
||||||
function! SyntaxCheckers_ruby_GetQFList()
|
function! SyntaxCheckers_ruby_GetQFList()
|
||||||
set makeprg=ruby\ -c\ %
|
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!
|
silent make!
|
||||||
return getqflist()
|
return getqflist()
|
||||||
endfunction
|
endfunction
|
||||||
|
Loading…
x
Reference in New Issue
Block a user