Sublime Forum

Not remembering filetype for color highlighting (Rails ERBs)

#1

Sublime Text is not remembering the filetype I choose for highlighting for HTML.ERB files. I select ‘Open all with current extension as…’ select ‘HTML(Rails)’ and it changes, but once I close the file and re-open it it’s back to ‘Ruby on Rails’ and the file is colored incorrectly.

Is this fixed with a more recent build? Am I missing something in the settings? Please help.

I’m using an evaluation copy now, and I’d really like to buy it, but I can’t do that until this frustrating bug is resolved.

Version is Sublime Text 2 (beta, build 2181)
OS is OS X Lion

0 Likes

#2

What’s the file name in question?

0 Likes

#3

any_file_name_with_this_extension.html.erb

0 Likes

#4

This appeared to be a defect with one of the packages I installed.

I followed the below instructions, and it’s working correctly.

sublimetext.com/docs/2/revert.html

0 Likes