eRuby vim syntax

Does anyone know if there’s a vim syntax file for eRuby? There’s a quite good
one for Ruby, with one minor annoyance, which comes bundled with vim, but not
one for eRuby. Ideally it’d be the same as the Ruby one, but colour
everything between ‘%>’ and ‘<%’ with some other colour to mark it apart from
the Ruby code.

Alternatively, does anyone here have any knowledge of vim syntax files, who
could modify the Ruby one? Who put the original one together?

Tim Bates

···


tim@bates.id.au

Just look at jsp.vim and do the same trick, replacing Java with Ruby as
you go through it.

···

On Fri, Nov 22, 2002 at 12:03:48PM +0900, Tim Bates wrote:

Alternatively, does anyone here have any knowledge of vim syntax
files, who could modify the Ruby one? Who put the original one
together?


äÍÉÔÒÉÊ âÏÒÏÄÁÅÎËÏ

I wrote one, it is available at vim.sf.net. The url is
vim.sf.net/script.php?script_id=403. Feedback is welcome.

-Michael

···

On Fri, Nov 22, 2002 at 12:04:10PM +0900, Tim Bates wrote:

Does anyone know if there’s a vim syntax file for eRuby? There’s a quite good
one for Ruby, with one minor annoyance, which comes bundled with vim, but not
one for eRuby. Ideally it’d be the same as the Ruby one, but colour
everything between ‘%>’ and ‘<%’ with some other colour to mark it apart from
the Ruby code.