syntax highlighting for .ru files in textmate
I am using text mate on the mac whilst learning Ruby on R开发者_开发技巧ails. 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?
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:
精彩评论