Similar question to this but my question goes a step further.

I'm developing in rails and would like Notepad++ to automatically use html formatting on files with the extension html.erb. For example 'hello.html.erb' should open with html syntax highlighting.

How do I accomplish this?

Note(1): I've linked to a question which shows how to set default languages. But the solution doesn't work for extensions with dot separators, such as 'html.erb'

Note(2): I'm avoiding simply using html formatting for .erb extensions because I want those to use ruby syntax highlighting.

link|improve this question
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.