I’m having trouble making a snipped that is triggered with the “equal” character expand after the closing of an HTML tag.
My full snippets.cson looks like this:
'.text.html.erb': 'ERB puts': prefix: '=' body: '<%= $1 %>'
The issue is it won’t expand after any character in this range
/[></#"']/ and probably more I haven’t tested. I’m just trying to have my snippet expand within html tags:
<h2>=(caret positioned here)(tab)</h2>
Any ideas on how to get around this? Is it maybe related to https://github.com/atom/snippets/issues/12 ?
Thanks for your help!