Like I mentioned in my issue on GitHub (https://github.com/textmate/bugs/issues/21), certain files wont persist syntax settings.
I made a quick screencast, where you see that after changing the syntax, closing the file and opening that same file again, the syntax setting has reverted.
Even though the fileType is reported as text.html.erb.rails (see screenshot)
My Global.tmProperties:
https://gist.github.com/koenpunt/a57e209ddb0ab0af119b59cc86bc90af
And my .tm_properties in my home folder:
https://gist.github.com/koenpunt/02dd3ab3670586216d40a9dacf42d3c3
Koen
Sent from [Nylas N1](https://link.nylas.com/link/33wd9n5m5l3cdcz4d1oikbwcz /local- 7e34bcbf-e984/0?redirect=https%3A%2F%2Fnylas.com%2Fn1%3Fref%3Dn1&r=dGV4dG1hdGVAbGlzdHMubWFjcm9tYXRlcy5jb20=), the extensible, open source mail client.
![](https://link.nylas.com/open/33wd9n5m5l3cdcz4d1oikbwcz/local- 7e34bcbf-e984?r=dGV4dG1hdGVAbGlzdHMubWFjcm9tYXRlcy5jb20=)