RSpec and GEMS DSL Keyword Additions to ruby.vim?

Nikolai Weibull now at bitwi.se
Wed Jan 31 08:02:18 EST 2007


On 1/31/07, Doug Kearns <dougkearns at gmail.com> wrote:
> G'day Rob,
>
> On Wed, Jan 10, 2007 at 04:25:30PM -0500, Rob Muhlestein wrote:
> > Downloaded the latest ruby-vim but still don't see the following
> > keywords in ruby.vim. I've added them to my own but would a patch to the
> > ruby.vim in this project be worth it? If so, I'll submit what I have.
> >
> > RSpec DSL:
> >
> >   context
> >   context_setup
> >   setup
> >   specify
> >   context_teardown
> >   teardown
> >
> > GEMS DSL:
> >   require_gem
> >   (more I'll look up if worth it)
> >
> > These DSLs are pretty mainstream and I think would be worth inclusion
> > for much the same reason that the Rails DSL addition to ruby also seems
> > worth it.
>
> Personally I'd prefer these (with the exception of require_gem/gem) were
> not added to ruby.vim.  I think that file should simply be for
> highlighting the 'core language'.

Yes, thank you.

A couple of months ago it would have been assert_X that someone would
have wanted.  What will the scenario be in six months?

Please add stuff like this in your after/syntax/ruby.vim file instead.

  nikolai


More information about the vim-ruby-devel mailing list