MikeRay1
MikeRay1

Reputation: 108

syntax highlighting for .ru files in textmate

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?

Upvotes: 2

Views: 844

Answers (1)

Mario Uher
Mario Uher

Reputation: 12397

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:

Upvotes: 11

Related Questions