A slight improvement to syntax/eruby.vim

Doug Kearns dougkearns at gmail.com
Mon Oct 23 10:54:09 EDT 2006


On Mon, Aug 14, 2006 at 11:10:39PM +0200, Nikolai Weibull wrote:
> Here's a totally lame non-patch for syntax/eruby.vim:
> 
> syn region  erubyBlock	    matchgroup=erubyDelimiter start="<%%\@!-\="
> end="-\=%>" contains=@rubyTop	       containedin=ALLBUT, at erubyRegions
> syn region  erubyExpression matchgroup=erubyDelimiter start="<%="
>  end="-\=%>" contains=@rubyTop	       containedin=ALLBUT, at erubyRegions
> syn region  erubyComment    matchgroup=erubyDelimiter start="<%#"
>  end="-\=%>" contains=rubyTodo, at Spell containedin=ALLBUT, at erubyRegions
> keepend
> 
> One may specify the "trim mode" to be, well, "trim" using "-" on the delimiters.

Applied. Thanks!

Regards,
Doug


More information about the vim-ruby-devel mailing list