RSpec and GEMS DSL Keyword Additions to ruby.vim?

Doug Kearns dougkearns at gmail.com
Wed Jan 31 06:48:49 EST 2007


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'.

Regards,
Doug


More information about the vim-ruby-devel mailing list