[rspec-users] Cucumber: Fix for Textmate syntax highlighting
Dr Nic
drnic at mocra.com
Sun Dec 14 21:44:45 EST 2008
I've added Given/When/Then as valid methods to take regexp as an
argument to my Ruby.tmbundle, if its helpful (via bjeanes)
http://github.com/drnic/ruby-tmbundle
Commit: http://github.com/drnic/ruby-tmbundle/commit/2cff40d43dd65aad3d8cd050654823db6d7517cb
Cheers
Nic
On Nov 15, 2:13 am, Ashley Moran <ashley.mo... at patchspace.co.uk>
wrote:
> On Nov 14, 2008, at 3:25 pm, Matt Wynne wrote:
>
> > It's been bugging me for a while that a lot of the regular
> > expressions in my step matchers look ugly inTextMatebecause it
> > doesn't recognise them.
>
> > I patched the Ruby tmbundle with a fix. If this bugs you too, you
> > can pull down my Ruby.tmbundle from here:
> >http://github.com/mattwynne/textmate-bundles/tree/master
>
> > Or has somebody already solved this problem some other way?
>
> I've always stuck %r in front of the regex:
>
> Given %r/blah/
>
> But I'd prefer a better fix!
>
> Ashley
>
> --http://www.patchspace.co.uk/http://aviewfromafar.net/
>
> _______________________________________________
> rspec-users mailing list
> rspec-us... at rubyforge.orghttp://rubyforge.org/mailman/listinfo/rspec-users
More information about the rspec-users
mailing list