[PATCH] Improved iterator matching, show whitespace errors

Gavin Sinclair gsinclair at soyabean.com.au
Wed Mar 23 17:35:44 EST 2005

On Wednesday, February 9, 2005, 6:31:48 AM, Tilman wrote:

> Hi,
> I sent these two patches to Doug Kearns 1-2 weeks ago, but I didn't get
> any feedback, so I'm posting them here now :)

> ruby.vim-iterator.diff improves the regex for iterators, so that it now
> correctly recognizes and hilights |(foo, bar)| for example.

> The 2nd patch makes it possible to have vim hilight whitespace errors
> such as trailing whitespace or mixed tabs/spaces.
> The regular expressions were copied from c.vim.

> Please comment ;)

Sorry for the delay in replying, Tilman, and thanks for the
contribution.  I'll add the iterator patch to CVS now, but I'll leave
the whitespace patch to Doug, as it might require some tailoring and

Do people think that whitespace errors should be turned on by default?


More information about the vim-ruby-devel mailing list