user3093381
user3093381

Reputation: 45

Retain Sass syntax highlighting in Sublime Text 2 when embedding Ruby

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

Answers (1)

zessx
zessx

Reputation: 68800

Open your .sass.erb file, and go to :

View > Syntax > Open all with current extension as... > Sass

Upvotes: 6

Related Questions