In textMate, I can specify the scopes that the matches are injected to with: "injectionSelector": "L:meta.embedded.block.hsx - (source.js, source.css)"
, that means, inject into meta.embedded.block.hsx
scope, but not source.js
and not source.css
.
How can I achieve something similar with sublime syntax?
I need my match to apply to all HTML content, except when the there is a script tag with JavaScript (source.js) or style tag with CSS (source.css).