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 -

Cross-Compiling Linux Kernel for Raspberry Pi - ${CCPREFIX}gcc -v does not work -

java.lang.NoClassDefFoundError When Creating New Android Project -