eruby.vim : Highlight eruby code blocks within html.
| script karma
Downloaded by 7613
Comments, bugs, improvements
|This script properly highlights <% ... %>, <%=...%>, and <%#...%> as ruby code within html.|
|Save the file eruby.vim to your ~/.vim/syntax directory and add a line in your ~/.vimrc or in ~/.vim/filetype.vim to load this syntax file for all *.rhtm and *.rhtml files.|
Rating scripts is only available on the
script versions (upload new version)
Click on the package to download.
ip used for rating: 184.108.40.206
||Fix to correctly highlight eruby tags within html tags. Also added comments with instructions to install .rhtml as a new filetype. Removed the ~/.vim/filetype.vim file from the package.
||Fixed the highlighting of blocks that are broken up by html. Fixed the highlighting of case
statements. Included the html ftplugins, so that indenting and all the other nice html ftplugins
work. Thanks to Tim Bates for pointing these out.