This doesn't work for me: `echo "<?php die(); ?>" | mate --type php`. TM2 opens with the type set to Plain Text. Is possible? I'm doing it wrong?
Thanks, Q
On Nov 14, 2015, at 6:03 PM, Quinn Comendant quinn@strangecode.com wrote:
This doesn't work for me: `echo "<?php die(); ?>" | mate --type php`. TM2 opens with the type set to Plain Text. Is possible? I'm doing it wrong?
You need to give the full root scope of the grammar, so:
echo "<?php die(); ?>" | mate --type "text.html.php"