tintin++ syntax highlighting for textmate (mac osx)

Other clients used. jmc/tinyfuge, ect.

tintin++ syntax highlighting for textmate (mac osx)

Postby raincrab » Wed Dec 19, 2012 11:39 pm

create a tintin bundle and add this grammar to it

Code: Select all
{   patterns = (
      {   name = 'keyword.control';
         match = '#(if|case|continue|default|while|else|elseif|endif|break|for|foreach|forall|return)\b';
      },
      {   name = 'support.function';
         match = '#(action|alias|all|bell|buffer|chat|class|config|cr|cursor|debug|default|delay|echo|end|event|function|gag|greeting|grep|help|highlight|history|ignore|info|kill|line|list|log|loop|macro|map|math|message|parse|path|pathdir|prompt|read|regexp|replace|return|run|scan|script|send|session|showme|substitute|suspend|switch|system|tab|textin|ticker|variable|var|write|zap)\b';
      },
      {   name = 'comment.line';
         begin = '^#nop';
         end = '$';
      },
      {   name = 'variable.other';
         match = '\$(\w+)';
      },
      {   name = 'constant.other';
         match = '<...>';
      },
      {   name = 'constant.numeric';
         match = '\b(\d+)\b';
      },
      {   name = 'variable.parameter';
         match = '%([\-\+\w+|\.]+)';
      },
   );
}
raincrab
 
Posts: 18
Joined: Thu Oct 18, 2012 5:46 pm
Status: Offline

Return to Other Clients

Who is online

Users browsing this forum: No registered users and 3 guests

cron