tinyfugue syntax highlighting for textmate (mac osx)

Other clients used. jmc/tinyfuge, ect.

tinyfugue syntax highlighting for textmate (mac osx)

Postby raincrab » Wed Dec 19, 2012 7:55 pm

create a new bundle in tm, add this to it

Code: Select all
{   patterns = (
      {   name = 'keyword.control.untitled';
         match = '\/(if|endif|else|elseif|for|while)\b';
      },
      {   name = 'entity.name.function';
         match = '\/(addworld|at|bamf|beep|bind|break|cat|changes|connect|dc|def|dokey|echo|edit|escape|eval|not|exit|export|expr|features|fg|finger|for|gag|getfile|grab|help|hilite|histsize|hook|if|input|kill|lcd|let|limit|list|listsockets|liststreams|listvar|listworlds|load|localecho|log|more|nohilite|partial|paste|ps|purge|purgeworld|putfile|quit|quote|recall|recordline|repeat|replace|restrict|return|runtime|save|saveworld|send|set|setenv|sh|shift|sub|substitute|suspend|telnet|test|tick|time|toggle|tr|trig|trigger|unbind|undef|undefn|undeft|unhook|unset|untrig|unworld|version|watchtdog|watchname|while|world)\b';
      },
      {   name = 'comment';
         match = '^;.+';
      },
      {   name = 'constant.numeric';
         match = '\b([0-9]+)\b';
      },
      {   name = 'invalid';
         match = '\b([\t ]+)$';
      },
      {   name = 'constant.language';
         match = '\b(yes|no)\b';
      },
      {   name = 'support.type';
         match = '\-(\w+)\b';
      },
      {   name = 'support.variable';
         match = '(%?\{(\S+)\}|%(\w+))';
      },
      {   name = 'string.regexp';
         begin = '"';
         end = '"';
         patterns = (
            {   name = 'constant.character.escape.untitled';
               match = '\\.';
            },
         );
      },
   );
}


edit: replaced xml with textmate grammar
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 2 guests

cron