Reputation: 45
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?
Upvotes: 3
Views: 440
Reputation: 68800
Open your .sass.erb
file, and go to :
View > Syntax > Open all with current extension as... > Sass
Upvotes: 6