Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Commit

Permalink
use -w as well when checking ruby syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Grenfell committed Jul 14, 2009
1 parent 7fc70a7 commit 3debc65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syntax_checkers/ruby.vim
Expand Up @@ -20,7 +20,7 @@ if !executable("ruby")
endif

function! SyntaxCheckers_ruby_GetLocList()
set makeprg=ruby\ -c\ %
set makeprg=ruby\ -w\ -c\ %
set errorformat=%-GSyntax\ OK,%E%f:%l:\ syntax\ error\\,\ %m,%Z%p^,%W%f:%l:\ warning:\ %m,%Z%p^,%-C%.%#
silent lmake!
return getloclist(0)
Expand Down

0 comments on commit 3debc65

Please sign in to comment.