Created
February 9, 2011 09:04
-
-
Save sergejx/818179 to your computer and use it in GitHub Desktop.
TaskPaper language definition for Gedit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<language id="taskpaper" _name="TaskPaper" version="2.0" _section="Others"> | |
<metadata> | |
<property name="globs">todo;*.taskpaper</property> | |
</metadata> | |
<styles> | |
<style id="project" _name="Project" map-to="def:type"/> | |
<style id="task" _name="Task" map-to="def:keyword"/> | |
<style id="note" _name="Note" map-to="def:comment"/> | |
<style id="tag" _name="Tag" map-to="def:string"/> | |
</styles> | |
<definitions> | |
<context id="taskpaper"> | |
<include> | |
<context id="project" style-ref="project"> | |
<match>^.*:$</match> | |
</context> | |
<context id="task" style-ref="task"> | |
<match>^\s*- </match> | |
</context> | |
<context id="tag" style-ref="tag"> | |
<match>@\w+(\(.*\))?</match> | |
</context> | |
<context id="note" style-ref="note"> | |
<match>^.*$</match> <!-- Everything else --> | |
</context> | |
</include> | |
</context> | |
</definitions> | |
</language> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment