I am using text mate on the mac whilst learning Ruby on Rails. However the backup files (.ru) don’t have any syntax highlighting and I can’t find any bundles for these for text mate. Does anyone have any ideas?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Just select Ruby from the bottom bar select menu or hit ⌃⌥⇧R (Control + Option + Shift + R):
And for saving this preference permanently, go to Bundles -> Bundle Editor -> Edit Languages … -> Ruby and here search for an Array called fileTypes and add
'ru'to it: