Skip to content

Instantly share code, notes, and snippets.

@metalelf0
Created November 16, 2010 20:17
Show Gist options
  • Save metalelf0/702430 to your computer and use it in GitHub Desktop.
Save metalelf0/702430 to your computer and use it in GitHub Desktop.
TextMate patterns example
{ scopeName = 'todo';
patterns = (
{ name = 'todo.completed';
match = '^\[X+\]';
},
{ name = 'todo.in_progress';
match = '^\[X*\.*\]';
},
{ name = 'todo.new';
match = '^\[.+]';
},
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment