eruby.vim : Highlight eruby code blocks within html.
| script karma
Downloaded by 7490
Comments, bugs, improvements
script versions (upload new version)
|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.|
Click on the package to download.
ip used for rating: 126.96.36.199
||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.