开发者

syntax highlighting for .ru files in textmate

开发者 https://www.devze.com 2023-03-22 19:02 出处:网络
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.

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):

syntax highlighting for .ru files in textmate


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:

syntax highlighting for .ru files in textmate

0

精彩评论

暂无评论...
验证码 换一张
取 消