In my case, I have the ability to inline coffee-script directly into smarty templates like so:
# coffee script code here
This code will be compiled into JS before the output is sent to the browser, of course (for those curious, I'm using my very own sacy here https://github.com/pilif/sacy).
How would I configure a language injection to coffee script for <script>-tags with type="text/coffeescript"?
This is what I've tried, but phpStorm still insists on treating everything between <script>-tags as JS: