Issue
I am embedding Ruby in a few Sass files—I have files named, for example, file.css.scss.erb
. When I add the .erb extension to these files, I lose the Sass syntax highlighting. Does anyone know how to retain the Sass formatting?
Solution
Open your .sass.erb
file, and go to :
View > Syntax > Open all with current extension as... > Sass
Answered By – zessx
Answer Checked By – Dawn Plyler (AngularFixing Volunteer)