sublimetext2 - how to make snippets and syntax hightlighting work with preprocessors? like .js.haml or .js.erb -


if have .js or .haml or .erb file, snippets work great.

but if create .js.haml or that. don't javascript syntax highlighting or snippets.

any way fix this?

you can go view > syntax > open current extension as... > javascript > javascript.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -