[TxMt] qq in Perl bundle again

Gerd Knops gerti at bitart.com
Fri Oct 7 03:28:38 UTC 2005


Speaking of perl, any specific reason why 'sub' is not defined as  
keyword or anything else?

I use the hack below, which I am sure is not quite appropriate.

Gerd

         {    name = 'other.function';
             match = '^\s*(sub)\s*([^\(]*)(.*)';
             captures =
             {    1 = { name = 'keyword.control.perl'; };
                 2 = { name = 'entity.name.function'; };
                 3 = { name = 'storage.type.method'; };
             };
         },




More information about the textmate mailing list