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

c++ - llvm function pass ReplaceInstWithInst malloc -

java.lang.NoClassDefFoundError When Creating New Android Project -

Decoding a Python 2 `tempfile` with python-future -