Skip to content

Instantly share code, notes, and snippets.

@kueda
Created February 9, 2011 01:43
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kueda/817724 to your computer and use it in GitHub Desktop.
Save kueda/817724 to your computer and use it in GitHub Desktop.
Textmate language definition for simple todo list highlighting
{ scopeName = 'text.plain';
foldingStartMarker = '/\*\*|\{\s*$';
foldingStopMarker = '\*\*/|^\s*\}';
patterns = (
{ name = 'markup.bold';
match = '^\s*(\*\s.*)$\n?';
},
{ name = 'comment';
match = '^\s*(x\s.*)$\n?';
},
{ name = 'kueda.invalid.deprecated';
match = '^\s*(\-\s.*)$\n?';
captures = { 1 = { name = 'invalid.deprecated'; }; };
},
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment