Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@TheMightyLlama
Last active October 20, 2016 06:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TheMightyLlama/06e8c5dee5deab0a4a524e2b3bafabce to your computer and use it in GitHub Desktop.
Save TheMightyLlama/06e8c5dee5deab0a4a524e2b3bafabce to your computer and use it in GitHub Desktop.
%YAML 1.2
---
name: Plain Text
file_extensions: [txt]
scope: source.c
contexts:
main:
- match: \b(Attendee|agenda|item|TITLE|DATE|OWNER|ATTENDEES|AGENDA|ACTIONS|NOTES|RISKS)\b
scope: keyword.control.c
- match: ([a-zA-Z0-9.!#$%&'+-/=?\^_`{|}~-]+@[a-zA-Z0-9-]+(?:.[a-zA-Z0-9-]+))
scope: support.constant punctuation
- match: ([\[]([P])[\]])
scope: keyword.control.c
- match: ([\[]([S])[\]])
scope: string.quoted.double
- match: ([\[](REV)[\]])
scope: entity.name.function punctuation
- match: ([\[](RET)[\]])
scope: markup.heading punctuation.definition.heading
- match: ([\[](ACQ)[\]])
scope: support.constant punctuation
- match: ([[:space:]]+{4}(- Item:))
scope: support.constant punctuation
- match: ([\t]+{1}(- Item:))
scope: support.constant punctuation
- match: ([\[](link)[\]])
scope: support.constant punctuation
- match: ([\[].*[\]][\[].*[\]])
scope: support.constant punctuation
- match: (^(.*?)\?\?)
scope: string.quoted.double
- match: ([[:space:]]+{4}(- [a-zA-Z0-9].*))
scope: comment
- match: ([\t]+{1}(- [a-zA-Z0-9].*))
scope: comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment