Topic: problem with syntax highlighting of erb files in gedit
Hello all,
I'm using gedit on Ubuntu for coding and am quite happy with it. There's just one problem. Syntax highlighting for some .html.erb files doesn't work. It seems that's caused by the wrong MIME type MATLAB. How can I change this?
I found a comment on this page that described a solution. Unfortunately I don't get it ...
Adding
<magic priority="20">
<match value="%" type="string" offset="0"/>
</magic>into .htm.erb section of my /usr/share/mime/packages/rails.xml solved the problem for myself.
I don't have a rails.xml. How can I create one?
Thanks,
oerdec