textpow 0.10.1 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +7 -0
- data/Gemfile +10 -0
- data/Gemfile.lock +30 -0
- data/{History.txt → History.rdoc} +10 -0
- data/{README.txt → MIT-LICENSE.txt} +0 -30
- data/README.rdoc +82 -0
- data/Rakefile +42 -49
- data/bin/plist2syntax +0 -0
- data/bin/plist2yaml +0 -0
- data/examples/benchmark_js.rb +13 -0
- data/examples/jquery.js +9046 -0
- data/lib/textpow.rb +43 -3
- data/lib/textpow/debug_processor.rb +35 -35
- data/lib/textpow/recording_processor.rb +13 -0
- data/lib/textpow/score_manager.rb +60 -60
- data/lib/textpow/syntax.rb +303 -262
- data/lib/textpow/syntax/broken/markdown.syntax +519 -0
- data/lib/textpow/syntax/broken/php.syntax +1253 -0
- data/lib/textpow/syntax/buggy/nemerle.syntax +74 -0
- data/lib/textpow/syntax/old/YAML.yaml +160 -0
- data/lib/textpow/syntax/old/txt2tags.yaml +139 -0
- data/lib/textpow/syntax/source.actionscript.syntax +97 -0
- data/lib/textpow/syntax/source.active4d.library.syntax +21 -0
- data/lib/textpow/syntax/source.active4d.syntax +276 -0
- data/lib/textpow/syntax/source.ada.syntax +33 -0
- data/lib/textpow/syntax/source.antlr.syntax +151 -0
- data/lib/textpow/syntax/source.apache-config.mod_perl.syntax +50 -0
- data/lib/textpow/syntax/source.apache-config.syntax +191 -0
- data/lib/textpow/syntax/source.applescript.syntax +384 -0
- data/lib/textpow/syntax/source.asp.syntax +70 -0
- data/lib/textpow/syntax/source.asp.vb.net.syntax +129 -0
- data/lib/textpow/syntax/source.c++.qt.syntax +26 -0
- data/lib/textpow/syntax/source.c++.syntax +186 -0
- data/lib/textpow/syntax/source.c-sharp.syntax +59 -0
- data/lib/textpow/syntax/source.c.ragel.syntax +201 -0
- data/lib/textpow/syntax/source.c.syntax +414 -0
- data/lib/textpow/syntax/source.camlp4.ocaml.syntax +36 -0
- data/lib/textpow/syntax/source.cm.syntax +32 -0
- data/lib/textpow/syntax/source.coffee.syntax +216 -0
- data/lib/textpow/syntax/source.context-free.syntax +176 -0
- data/lib/textpow/syntax/source.css.beta.syntax +1925 -0
- data/lib/textpow/syntax/source.css.syntax +195 -0
- data/lib/textpow/syntax/source.d.syntax +142 -0
- data/lib/textpow/syntax/source.diff.syntax +81 -0
- data/lib/textpow/syntax/source.dot.syntax +47 -0
- data/lib/textpow/syntax/source.dylan.syntax +62 -0
- data/lib/textpow/syntax/source.eiffel.syntax +78 -0
- data/lib/textpow/syntax/source.erlang.syntax +922 -0
- data/lib/textpow/syntax/source.fortran.syntax +141 -0
- data/lib/textpow/syntax/source.fscript.syntax +80 -0
- data/lib/textpow/syntax/source.fxscript.syntax +142 -0
- data/lib/textpow/syntax/source.gri.syntax +83 -0
- data/lib/textpow/syntax/source.groovy.groovy.syntax +191 -0
- data/lib/textpow/syntax/source.haskell.syntax +88 -0
- data/lib/textpow/syntax/source.icalendar.syntax +32 -0
- data/lib/textpow/syntax/source.inform.syntax +48 -0
- data/lib/textpow/syntax/source.ini.syntax +55 -0
- data/lib/textpow/syntax/source.io.syntax +81 -0
- data/lib/textpow/syntax/source.java-props.syntax +20 -0
- data/lib/textpow/syntax/source.java.syntax +211 -0
- data/lib/textpow/syntax/source.js.greasemonkey.syntax +34 -0
- data/lib/textpow/syntax/source.js.jquery.syntax +114 -0
- data/lib/textpow/syntax/source.js.mootools.syntax +572 -0
- data/lib/textpow/syntax/source.js.prototype.bracketed.syntax +140 -0
- data/lib/textpow/syntax/source.js.prototype.syntax +72 -0
- data/lib/textpow/syntax/source.js.syntax +256 -0
- data/lib/textpow/syntax/source.js.yui.syntax +176 -0
- data/lib/textpow/syntax/source.json.syntax +136 -0
- data/lib/textpow/syntax/source.lex.syntax +219 -0
- data/lib/textpow/syntax/source.lighttpd-config.syntax +54 -0
- data/lib/textpow/syntax/source.lilypond.syntax +492 -0
- data/lib/textpow/syntax/source.lisp.syntax +61 -0
- data/lib/textpow/syntax/source.logo.syntax +29 -0
- data/lib/textpow/syntax/source.logtalk.syntax +152 -0
- data/lib/textpow/syntax/source.lua.syntax +86 -0
- data/lib/textpow/syntax/source.makefile.syntax +36 -0
- data/lib/textpow/syntax/source.matlab.syntax +142 -0
- data/lib/textpow/syntax/source.mel.syntax +92 -0
- data/lib/textpow/syntax/source.mips.syntax +66 -0
- data/lib/textpow/syntax/source.ml.syntax +121 -0
- data/lib/textpow/syntax/source.modula-3.syntax +47 -0
- data/lib/textpow/syntax/source.nant-build.syntax +53 -0
- data/lib/textpow/syntax/source.objc++.syntax +18 -0
- data/lib/textpow/syntax/source.objc.syntax +233 -0
- data/lib/textpow/syntax/source.ocaml.syntax +764 -0
- data/lib/textpow/syntax/source.ocamllex.syntax +167 -0
- data/lib/textpow/syntax/source.ocamlyacc.syntax +184 -0
- data/lib/textpow/syntax/source.open-gl.syntax +14 -0
- data/lib/textpow/syntax/source.pascal.syntax +77 -0
- data/lib/textpow/syntax/source.pascal.vectorscript.syntax +57 -0
- data/lib/textpow/syntax/source.perl.syntax +1113 -0
- data/lib/textpow/syntax/source.php.cake.syntax +55 -0
- data/lib/textpow/syntax/source.plist.tm-grammar.syntax +708 -0
- data/lib/textpow/syntax/source.postscript.syntax +114 -0
- data/lib/textpow/syntax/source.processing.syntax +106 -0
- data/lib/textpow/syntax/source.prolog.syntax +40 -0
- data/lib/textpow/syntax/source.python.django.syntax +21 -0
- data/lib/textpow/syntax/source.python.syntax +868 -0
- data/lib/textpow/syntax/source.qmake.syntax +114 -0
- data/lib/textpow/syntax/source.quake-config.syntax +32 -0
- data/lib/textpow/syntax/source.r-console.syntax +16 -0
- data/lib/textpow/syntax/source.r.syntax +81 -0
- data/lib/textpow/syntax/source.regexp.oniguruma.syntax +107 -0
- data/lib/textpow/syntax/source.regexp.python.syntax +109 -0
- data/lib/textpow/syntax/source.regexp.syntax +50 -0
- data/lib/textpow/syntax/source.remind.syntax +253 -0
- data/lib/textpow/syntax/source.rez.syntax +80 -0
- data/lib/textpow/syntax/source.ruby.experimental.syntax +145 -0
- data/lib/textpow/syntax/source.ruby.rails.syntax +88 -0
- data/lib/textpow/syntax/source.ruby.syntax +1035 -0
- data/lib/textpow/syntax/source.s5.syntax +69 -0
- data/lib/textpow/syntax/source.sass.syntax +45 -0
- data/lib/textpow/syntax/source.scheme.syntax +347 -0
- data/lib/textpow/syntax/source.scilab.syntax +41 -0
- data/lib/textpow/syntax/source.scss.syntax +527 -0
- data/lib/textpow/syntax/source.shell.syntax +384 -0
- data/lib/textpow/syntax/source.slate.syntax +149 -0
- data/lib/textpow/syntax/source.smarty.syntax +63 -0
- data/lib/textpow/syntax/source.sql.ruby.syntax +18 -0
- data/lib/textpow/syntax/source.sql.syntax +237 -0
- data/lib/textpow/syntax/source.ssh-config.syntax +33 -0
- data/lib/textpow/syntax/source.strings.syntax +39 -0
- data/lib/textpow/syntax/source.swig.syntax +57 -0
- data/lib/textpow/syntax/source.tcl.macports.syntax +163 -0
- data/lib/textpow/syntax/source.tcl.syntax +152 -0
- data/lib/textpow/syntax/source.yaml.syntax +160 -0
- data/lib/textpow/syntax/text.active4d-ini.syntax +50 -0
- data/lib/textpow/syntax/text.bbcode.syntax +287 -0
- data/lib/textpow/syntax/text.bibtex.syntax +151 -0
- data/lib/textpow/syntax/text.blog.html.syntax +41 -0
- data/lib/textpow/syntax/text.blog.markdown.syntax +42 -0
- data/lib/textpow/syntax/text.blog.syntax +27 -0
- data/lib/textpow/syntax/text.blog.textile.syntax +27 -0
- data/lib/textpow/syntax/text.gtdalt.syntax +143 -0
- data/lib/textpow/syntax/text.haml.syntax +88 -0
- data/lib/textpow/syntax/text.html.asp.net.syntax +424 -0
- data/lib/textpow/syntax/text.html.asp.syntax +27 -0
- data/lib/textpow/syntax/text.html.basic.syntax +362 -0
- data/lib/textpow/syntax/text.html.cfm.syntax +119 -0
- data/lib/textpow/syntax/text.html.django.syntax +36 -0
- data/lib/textpow/syntax/text.html.dokuwiki.syntax +204 -0
- data/lib/textpow/syntax/text.html.doxygen.syntax +43 -0
- data/lib/textpow/syntax/text.html.markdown.multimarkdown.syntax +39 -0
- data/lib/textpow/syntax/text.html.mason.syntax +119 -0
- data/lib/textpow/syntax/text.html.mediawiki.syntax +567 -0
- data/lib/textpow/syntax/text.html.mt.syntax +162 -0
- data/lib/textpow/syntax/text.html.ruby.syntax +40 -0
- data/lib/textpow/syntax/text.html.strict.active4d.syntax +311 -0
- data/lib/textpow/syntax/text.html.tcl.syntax +26 -0
- data/lib/textpow/syntax/text.html.textile.syntax +215 -0
- data/lib/textpow/syntax/text.html.tt.syntax +121 -0
- data/lib/textpow/syntax/text.html.twiki.syntax +241 -0
- data/lib/textpow/syntax/text.html.xhtml.1-strict.syntax +4027 -0
- data/lib/textpow/syntax/text.log.latex.syntax +50 -0
- data/lib/textpow/syntax/text.mail.markdown.syntax +118 -0
- data/lib/textpow/syntax/text.man.syntax +17 -0
- data/lib/textpow/syntax/text.moinmoin.syntax +189 -0
- data/lib/textpow/syntax/text.plain.gtd.syntax +22 -0
- data/lib/textpow/syntax/text.plain.release-notes.syntax +46 -0
- data/lib/textpow/syntax/text.plain.syntax +32 -0
- data/lib/textpow/syntax/text.plist.syntax +635 -0
- data/lib/textpow/syntax/text.pmwiki.syntax +113 -0
- data/lib/textpow/syntax/text.restructuredtext.syntax +250 -0
- data/lib/textpow/syntax/text.setext.syntax +147 -0
- data/lib/textpow/syntax/text.subversion-commit.syntax +36 -0
- data/lib/textpow/syntax/text.tabular.csv.syntax +68 -0
- data/lib/textpow/syntax/text.tabular.tsv.syntax +50 -0
- data/lib/textpow/syntax/text.tex.latex.beamer.syntax +41 -0
- data/lib/textpow/syntax/text.tex.latex.haskell.syntax +24 -0
- data/lib/textpow/syntax/text.tex.latex.memoir.syntax +64 -0
- data/lib/textpow/syntax/text.tex.latex.rd.syntax +91 -0
- data/lib/textpow/syntax/text.tex.latex.sweave.syntax +84 -0
- data/lib/textpow/syntax/text.tex.latex.syntax +566 -0
- data/lib/textpow/syntax/text.tex.math.syntax +49 -0
- data/lib/textpow/syntax/text.tex.syntax +86 -0
- data/lib/textpow/syntax/text.txt2tags.syntax +79 -0
- data/lib/textpow/syntax/text.xml.apple-dist.syntax +77 -0
- data/lib/textpow/syntax/text.xml.strict.syntax +92 -0
- data/lib/textpow/syntax/text.xml.syntax +180 -0
- data/lib/textpow/syntax/text.xml.xsl.syntax +60 -0
- data/lib/textpow/version.rb +3 -0
- data/spec/fixtures/objeck.plist +107 -0
- data/spec/fixtures/utf8.txt +1 -0
- data/spec/spec_helper.rb +2 -0
- data/spec/textpow/score_manager_spec.rb +20 -0
- data/spec/textpow/syntax_files_spec.rb +26 -0
- data/spec/textpow/syntax_spec.rb +225 -0
- data/spec/textpow_spec.rb +57 -0
- data/textpow.gemspec +19 -0
- metadata +246 -68
- data/Manifest.txt +0 -13
- data/mm/manual.mm +0 -266
- data/test/test_textpow.rb +0 -25
@@ -0,0 +1,50 @@
|
|
1
|
+
---
|
2
|
+
name: LaTeX Log
|
3
|
+
firstLineMatch: "This is (pdfe)?TeXk?, Version "
|
4
|
+
scopeName: text.log.latex
|
5
|
+
uuid: F68ACE95-7DB3-4DFB-AA8A-89988B116B5C
|
6
|
+
foldingStartMarker: /\*\*|\(\s*$
|
7
|
+
patterns:
|
8
|
+
- name: invalid.deprecated
|
9
|
+
match: ".*Warning:"
|
10
|
+
- name: invalid.deprecated
|
11
|
+
match: "[^:]*:\\d*:.*"
|
12
|
+
- name: invalid.illegal
|
13
|
+
match: .*Error|^!.*
|
14
|
+
- name: entity.name.function
|
15
|
+
match: .*\.sty
|
16
|
+
- name: entity.name.type.class
|
17
|
+
match: .*\.cls
|
18
|
+
- name: entity.name.tag.configuration
|
19
|
+
match: .*\.cfg
|
20
|
+
- name: entity.name.tag.definition
|
21
|
+
match: .*\.def
|
22
|
+
- name: comment.block.documentation
|
23
|
+
match: .*Info.*
|
24
|
+
- name: meta.log.latex.fixme
|
25
|
+
match: ".*FiXme:"
|
26
|
+
- name: meta.log.latex.hyphenation
|
27
|
+
captures:
|
28
|
+
"1":
|
29
|
+
name: keyword.control.hyphenation.latex
|
30
|
+
begin: (Overfull|Underfull)
|
31
|
+
end: (\[\]\n)
|
32
|
+
patterns:
|
33
|
+
- name: variable.parameter.hyphenation.latex2
|
34
|
+
match: "[0-9]+\\-\\-[0-9]+"
|
35
|
+
- name: string.unquoted.other.filename.log.latex
|
36
|
+
endCaptures:
|
37
|
+
"0":
|
38
|
+
name: punctuation.definition.string.end.log.latex
|
39
|
+
begin: (<)
|
40
|
+
beginCaptures:
|
41
|
+
"0":
|
42
|
+
name: punctuation.definition.string.begin.log.latex
|
43
|
+
end: (>)
|
44
|
+
patterns:
|
45
|
+
- name: support.function.with-arg.latex
|
46
|
+
captures:
|
47
|
+
"1":
|
48
|
+
name: entity.name.function.filename.latex
|
49
|
+
match: (.*/.*\.pdf)
|
50
|
+
foldingStopMarker: \*\*/|^\s*\)
|
@@ -0,0 +1,118 @@
|
|
1
|
+
---
|
2
|
+
fileTypes:
|
3
|
+
- mail
|
4
|
+
firstLineMatch: "^From: .*(?=\\w+@[\\w-]+\\.\\w+)"
|
5
|
+
keyEquivalent: ^~M
|
6
|
+
name: Mail
|
7
|
+
patterns:
|
8
|
+
- begin: ((?i:subject))(:)\s*
|
9
|
+
beginCaptures:
|
10
|
+
"1":
|
11
|
+
name: keyword.other.mail
|
12
|
+
"2":
|
13
|
+
name: punctuation.separator.key-value.mail
|
14
|
+
contentName: entity.name.section.mail
|
15
|
+
end: ^(?![ \t\v])
|
16
|
+
name: meta.header.mail
|
17
|
+
- begin: ([\x21-\x39\x3B-\x7E]+)(:)\s*
|
18
|
+
beginCaptures:
|
19
|
+
"1":
|
20
|
+
name: keyword.other.mail
|
21
|
+
"2":
|
22
|
+
name: punctuation.separator.key-value.mail
|
23
|
+
end: ^(?![ \t\v])
|
24
|
+
name: meta.header.mail
|
25
|
+
patterns:
|
26
|
+
- include: "#string"
|
27
|
+
- include: "#comment"
|
28
|
+
- include: "#reference"
|
29
|
+
- include: "#atom"
|
30
|
+
- begin: ^(?![A-Za-z0-9]+:)
|
31
|
+
end: ^(?=not)possible$
|
32
|
+
name: text.html.markdown
|
33
|
+
patterns:
|
34
|
+
- match: ^-- $\n
|
35
|
+
name: meta.separator.signature.mail
|
36
|
+
- include: text.html.markdown
|
37
|
+
repository:
|
38
|
+
any:
|
39
|
+
patterns:
|
40
|
+
- include: "#group"
|
41
|
+
- include: "#reference"
|
42
|
+
- include: "#string"
|
43
|
+
- include: "#comment"
|
44
|
+
- include: "#domain_literal"
|
45
|
+
- include: "#atom"
|
46
|
+
atom:
|
47
|
+
match: "[^ \\t\\v\\n()<>@,;:\\\\\".\\[\\]]+"
|
48
|
+
name: string.unquoted.atom.mail
|
49
|
+
comment:
|
50
|
+
begin: \(
|
51
|
+
captures:
|
52
|
+
"0":
|
53
|
+
name: punctuation.definition.comment.mail
|
54
|
+
end: \)
|
55
|
+
name: comment.line.parentheses.mail
|
56
|
+
patterns:
|
57
|
+
- include: "#quote_pair"
|
58
|
+
- include: "#comment"
|
59
|
+
domain_literal:
|
60
|
+
begin: \[
|
61
|
+
end: \]
|
62
|
+
name: meta.domain-literal.mail
|
63
|
+
patterns:
|
64
|
+
- include: "#quote_pair"
|
65
|
+
- include: "#group"
|
66
|
+
- include: "#reference"
|
67
|
+
- include: "#string"
|
68
|
+
- include: "#comment"
|
69
|
+
- include: "#atom"
|
70
|
+
encoded_text:
|
71
|
+
captures:
|
72
|
+
"1":
|
73
|
+
name: constant.other.charset.mail
|
74
|
+
"2":
|
75
|
+
name: constant.other.encoding.mail
|
76
|
+
match: =\?(.*?)(?:\*[^?]+)?\?([QB])\?(.*?)\?=
|
77
|
+
name: meta.encoded-text.mail
|
78
|
+
group:
|
79
|
+
begin: ":(?=.*;)"
|
80
|
+
comment: "this is to group addresses, RFC822 says that these \xE2\x80\x9Cmust occur in matched pairs,\xE2\x80\x9D but e.g. the date header uses : as a time separator."
|
81
|
+
end: ;
|
82
|
+
name: meta.group.mail
|
83
|
+
patterns:
|
84
|
+
- include: "#reference"
|
85
|
+
- include: "#string"
|
86
|
+
- include: "#comment"
|
87
|
+
- include: "#domain_literal"
|
88
|
+
- include: "#atom"
|
89
|
+
quote_pair:
|
90
|
+
match: \\.
|
91
|
+
name: constant.other.escape.mail
|
92
|
+
reference:
|
93
|
+
begin: <
|
94
|
+
captures:
|
95
|
+
"0":
|
96
|
+
name: punctuation.definition.constant.mail
|
97
|
+
end: ">"
|
98
|
+
name: constant.other.reference.mail
|
99
|
+
patterns:
|
100
|
+
- include: "#string"
|
101
|
+
- include: "#comment"
|
102
|
+
- include: "#domain_literal"
|
103
|
+
- include: "#atom"
|
104
|
+
string:
|
105
|
+
begin: "\""
|
106
|
+
beginCaptures:
|
107
|
+
"0":
|
108
|
+
name: punctuation.definition.string.begin.mail
|
109
|
+
end: "\""
|
110
|
+
endCaptures:
|
111
|
+
"0":
|
112
|
+
name: punctuation.definition.string.end.mail
|
113
|
+
name: string.quoted.double.mail
|
114
|
+
patterns:
|
115
|
+
- include: "#quote_pair"
|
116
|
+
- include: "#encoded_text"
|
117
|
+
scopeName: text.mail.markdown
|
118
|
+
uuid: 15615A0C-37B0-4B3F-9105-53ED536AFBB4
|
@@ -0,0 +1,17 @@
|
|
1
|
+
---
|
2
|
+
name: Man
|
3
|
+
fileTypes:
|
4
|
+
- man
|
5
|
+
scopeName: text.man
|
6
|
+
uuid: E8BAC30A-16BF-498D-941D-73FBAED37891
|
7
|
+
foldingStartMarker: ^[A-Z](?:(?:\S+\s\S+)+|\S+)$
|
8
|
+
patterns:
|
9
|
+
- name: markup.heading.man
|
10
|
+
match: ^[A-Z](?:(?:\S+\s\S+)+|\S+)$
|
11
|
+
- name: markup.underline.link.man
|
12
|
+
match: ((https?|ftp|file|txmt)://|mailto:)[-:@a-zA-Z0-9_.~%+/?=&#]+(?<![.?:])
|
13
|
+
- name: markup.underline.link.internal.man
|
14
|
+
match: ([\w\.]+\(\d[a-z]?\))
|
15
|
+
- name: meta.foldingStopMarker.man
|
16
|
+
match: ^_{2,}$
|
17
|
+
foldingStopMarker: ^_{2,}$
|
@@ -0,0 +1,189 @@
|
|
1
|
+
---
|
2
|
+
name: MoinMoin
|
3
|
+
fileTypes:
|
4
|
+
- moinmoin
|
5
|
+
scopeName: text.moinmoin
|
6
|
+
repository:
|
7
|
+
inline:
|
8
|
+
patterns:
|
9
|
+
- name: markup.raw.block.moinmoin
|
10
|
+
captures:
|
11
|
+
"0":
|
12
|
+
name: punctuation.definition.raw.moinmoin
|
13
|
+
begin: \{{3}(?!.*\}{3})
|
14
|
+
end: \}{3}
|
15
|
+
- name: markup.raw.inline.moinmoin
|
16
|
+
captures:
|
17
|
+
"1":
|
18
|
+
name: punctuation.definition.raw.moinmoin
|
19
|
+
"2":
|
20
|
+
name: punctuation.definition.raw.moinmoin
|
21
|
+
"3":
|
22
|
+
name: punctuation.definition.raw.moinmoin
|
23
|
+
"4":
|
24
|
+
name: punctuation.definition.raw.moinmoin
|
25
|
+
match: (`)[^`]*(`)|({{{).*?(}}})
|
26
|
+
- captures:
|
27
|
+
"0":
|
28
|
+
name: punctuation.definition.italic.moinmoin
|
29
|
+
begin: "'{2}(?='{3}[^']*'{3})"
|
30
|
+
contentName: markup.italic.moinmoin
|
31
|
+
end: "'{2}(?!')|'{2}(?='{3})"
|
32
|
+
patterns:
|
33
|
+
- include: "#inline"
|
34
|
+
- captures:
|
35
|
+
"0":
|
36
|
+
name: punctuation.definition.bold.moinmoin
|
37
|
+
begin: "'{3}"
|
38
|
+
contentName: markup.bold.moinmoin
|
39
|
+
end: "'{3}"
|
40
|
+
patterns:
|
41
|
+
- include: "#inline"
|
42
|
+
- captures:
|
43
|
+
"0":
|
44
|
+
name: punctuation.definition.italic.moinmoin
|
45
|
+
begin: "'{2}"
|
46
|
+
contentName: markup.italic.moinmoin
|
47
|
+
end: "'{2}(?!')|'{2}(?='{3})"
|
48
|
+
patterns:
|
49
|
+
- include: "#inline"
|
50
|
+
- captures:
|
51
|
+
"0":
|
52
|
+
name: punctuation.definition.underline.moinmoin
|
53
|
+
begin: __
|
54
|
+
contentName: markup.underline.moinmoin
|
55
|
+
end: __
|
56
|
+
patterns:
|
57
|
+
- include: "#inline"
|
58
|
+
- name: markup.underline.link.moinmoin
|
59
|
+
match: (?<!\!)/?(?:[A-Z][a-z0-9]+[A-Z][a-z0-9]+[A-Za-z0-9]*)
|
60
|
+
- name: markup.underline.link.moinmoin
|
61
|
+
captures:
|
62
|
+
"1":
|
63
|
+
name: punctuation.definition.link.moinmoin
|
64
|
+
"2":
|
65
|
+
name: punctuation.definition.link.moinmoin
|
66
|
+
match: (\[").*?("\])
|
67
|
+
- name: markup.underline.link.moinmoin
|
68
|
+
captures:
|
69
|
+
"1":
|
70
|
+
name: punctuation.definition.link.moinmoin
|
71
|
+
"2":
|
72
|
+
name: punctuation.definition.link.moinmoin
|
73
|
+
match: (\[):.*?:.*?(\])
|
74
|
+
- name: markup.underline.link.moinmoin
|
75
|
+
match: https?://\S+
|
76
|
+
- name: markup.underline.link.moinmoin
|
77
|
+
captures:
|
78
|
+
"1":
|
79
|
+
name: punctuation.definition.link.moinmoin
|
80
|
+
"2":
|
81
|
+
name: punctuation.definition.link.moinmoin
|
82
|
+
match: (\[)https?://.*?(\])
|
83
|
+
- name: markup.underline.link.moinmoin
|
84
|
+
captures:
|
85
|
+
"1":
|
86
|
+
name: punctuation.separator.key-value.moinmoin
|
87
|
+
match: attachment(:)\S+
|
88
|
+
- name: meta.table.column.moinmoin
|
89
|
+
captures:
|
90
|
+
"0":
|
91
|
+
name: punctuation.definition.table.column.moinmoin
|
92
|
+
match: \|\|
|
93
|
+
- name: meta.macro.moinmoin
|
94
|
+
captures:
|
95
|
+
"0":
|
96
|
+
name: punctuation.definition.macro.moinmoin
|
97
|
+
match: (\[\[).*?(\]\])
|
98
|
+
uuid: DB315CBC-23FD-4952-9D64-F2AC0618A840
|
99
|
+
patterns:
|
100
|
+
- name: markup.heading.1.moinmoin
|
101
|
+
captures:
|
102
|
+
"1":
|
103
|
+
name: punctuation.definition.heading.moimoin
|
104
|
+
"2":
|
105
|
+
name: punctuation.definition.heading.moimoin
|
106
|
+
match: ^\s*(=)\s.*\s(=)\n
|
107
|
+
- name: markup.heading.2.moinmoin
|
108
|
+
captures:
|
109
|
+
"1":
|
110
|
+
name: punctuation.definition.heading.moimoin
|
111
|
+
"2":
|
112
|
+
name: punctuation.definition.heading.moimoin
|
113
|
+
match: ^\s*(==)\s.*\s(==)\n
|
114
|
+
- name: markup.heading.3.moinmoin
|
115
|
+
captures:
|
116
|
+
"1":
|
117
|
+
name: punctuation.definition.heading.moimoin
|
118
|
+
"2":
|
119
|
+
name: punctuation.definition.heading.moimoin
|
120
|
+
match: ^\s*(===)\s.*\s(===)\n
|
121
|
+
- name: markup.heading.4.moinmoin
|
122
|
+
captures:
|
123
|
+
"1":
|
124
|
+
name: punctuation.definition.heading.moimoin
|
125
|
+
"2":
|
126
|
+
name: punctuation.definition.heading.moimoin
|
127
|
+
match: ^\s*(====)\s.*\s(====)\n
|
128
|
+
- name: markup.heading.5.moinmoin
|
129
|
+
captures:
|
130
|
+
"1":
|
131
|
+
name: punctuation.definition.heading.moimoin
|
132
|
+
"2":
|
133
|
+
name: punctuation.definition.heading.moimoin
|
134
|
+
match: ^\s*(=====)\s.*\s(=====)\n
|
135
|
+
- name: meta.separator.moinmoin
|
136
|
+
match: ^\s*-----\s*\n
|
137
|
+
- name: meta.pragma.moimoin
|
138
|
+
match: ^#pragma.*
|
139
|
+
- name: comment.line.double-number-sign.moimoin
|
140
|
+
captures:
|
141
|
+
"1":
|
142
|
+
name: punctuation.definition.comment.moimoin
|
143
|
+
match: ^(##).*$\n?
|
144
|
+
- captures:
|
145
|
+
"1":
|
146
|
+
name: markup.list.definition.term.moinmoin
|
147
|
+
"2":
|
148
|
+
name: punctuation.separator.definition.moinmoin
|
149
|
+
begin: ^\s+(.*?(::))(?=\s+\S)
|
150
|
+
contentName: markup.list.definition.moinmoin
|
151
|
+
end: \n
|
152
|
+
patterns:
|
153
|
+
- include: "#inline"
|
154
|
+
- captures:
|
155
|
+
"1":
|
156
|
+
name: punctuation.definition.list_item.moinmoin
|
157
|
+
"2":
|
158
|
+
name: markup.list.unnumbered.moinmoin
|
159
|
+
begin: ^\s+(\*)(\s)
|
160
|
+
contentName: markup.list.unnumbered.moinmoin
|
161
|
+
end: \n
|
162
|
+
patterns:
|
163
|
+
- include: "#inline"
|
164
|
+
- captures:
|
165
|
+
"1":
|
166
|
+
name: punctuation.definition.list_item.moinmoin
|
167
|
+
"2":
|
168
|
+
name: markup.list.numbered.moinmoin
|
169
|
+
begin: ^\s+((?:[aAiI]|\d+)\.(?:\#\d+)?)(\s)
|
170
|
+
contentName: markup.list.numbered.moinmoin
|
171
|
+
end: \n
|
172
|
+
patterns:
|
173
|
+
- include: "#inline"
|
174
|
+
- captures:
|
175
|
+
"1":
|
176
|
+
name: punctuation.definition.table.column.moinmoin
|
177
|
+
"2":
|
178
|
+
name: punctuation.definition.table.column.moinmoin
|
179
|
+
begin: ^\s*(\|\|)
|
180
|
+
contentName: meta.table.moinmoin
|
181
|
+
end: (\|\|$)|\n
|
182
|
+
patterns:
|
183
|
+
- include: "#inline"
|
184
|
+
- name: meta.paragraph.moinmoin
|
185
|
+
begin: ^\s*(?=\S)
|
186
|
+
end: \n
|
187
|
+
patterns:
|
188
|
+
- include: "#inline"
|
189
|
+
keyEquivalent: ^~M
|
@@ -0,0 +1,22 @@
|
|
1
|
+
---
|
2
|
+
name: GTD
|
3
|
+
fileTypes:
|
4
|
+
- gtd
|
5
|
+
scopeName: text.plain.gtd
|
6
|
+
uuid: A984336E-2C65-4152-8FC0-34D2E73721DA
|
7
|
+
patterns:
|
8
|
+
- name: markup.other.pagename
|
9
|
+
match: "[A-Z][a-z]+([A-Z][a-z]*)+"
|
10
|
+
- name: string.unquoted.gtd
|
11
|
+
match: ^-\s{2}\S+\s
|
12
|
+
- name: entity.name.tag.gtd
|
13
|
+
match: ^<-\s\S+\s
|
14
|
+
- name: constant.language.gtd
|
15
|
+
match: ^->\s\S+\s
|
16
|
+
- name: variable.language.gtd
|
17
|
+
match: ^\+\s{2}\S+\s
|
18
|
+
- name: comment.line.gtd
|
19
|
+
match: ^\^\s{2}\S+\s
|
20
|
+
- name: support.class.exception.gtd
|
21
|
+
match: ^\!\s{2}\S+\s
|
22
|
+
keyEquivalent: ^~G
|
@@ -0,0 +1,46 @@
|
|
1
|
+
---
|
2
|
+
name: Release Notes
|
3
|
+
fileTypes:
|
4
|
+
- tmReleaseNotes
|
5
|
+
scopeName: text.plain.release-notes
|
6
|
+
uuid: 8926CAFE-1CF3-4CF9-A056-4FF90F596E9A
|
7
|
+
patterns:
|
8
|
+
- name: meta.separator.release-notes
|
9
|
+
captures:
|
10
|
+
"1":
|
11
|
+
name: punctuation.definition.separator.release-notes
|
12
|
+
"2":
|
13
|
+
name: meta.toc-list.release-notes
|
14
|
+
"3":
|
15
|
+
name: punctuation.definition.separator.release-notes
|
16
|
+
match: "^(\\[)(?:[\\d-]+: )?(REVISION (\\d+|v[\\d.b]+))(\\])$\\n"
|
17
|
+
- begin: ^([ \t]*)(?=\S)
|
18
|
+
contentName: meta.paragraph.text
|
19
|
+
end: ^(?!\1(?=\S))
|
20
|
+
patterns:
|
21
|
+
- name: markup.underline.link
|
22
|
+
match: (https?|ftp|mailto):\S+?(?=[)>,.':;"]*(\s|$)|$)
|
23
|
+
- captures:
|
24
|
+
"1":
|
25
|
+
name: keyword.other.release-notes
|
26
|
+
"2":
|
27
|
+
name: punctuation.definition.keyword.release-notes
|
28
|
+
"3":
|
29
|
+
name: punctuation.definition.keyword.release-notes
|
30
|
+
"4":
|
31
|
+
name: constant.other.bundle-name.release-notes
|
32
|
+
match: ((\[)(?:NEW|FIXED|CHANGED|REMOVED|INFO)(\])) (?:(.+? bundle):)?
|
33
|
+
- name: meta.ticket.release-notes
|
34
|
+
captures:
|
35
|
+
"1":
|
36
|
+
name: storage.type.ticket.release-notes
|
37
|
+
"2":
|
38
|
+
name: constant.numeric.ticket.release-notes
|
39
|
+
match: ([Tt]icket) ([0-9A-F]{8})\b
|
40
|
+
- name: meta.word.camel-case
|
41
|
+
match: \b[A-Z]*[a-z]+[A-Z]\w*\b
|
42
|
+
comment: "I do not want spell checking for CamelCase words. Since this is generally when quoting various API\xE2\x80\x99s, I have deliberately used A-Z and a-z (ASCII) -- Allan"
|
43
|
+
- captures:
|
44
|
+
"1":
|
45
|
+
name: constant.other.committer-name.release-notes
|
46
|
+
match: "\\((G(erd Knops|a(vin Kistner|rrett J. Woodworth)|ra(nt Hollingworth|eme Rocher))|R(yan McCuaig|ich Barton|o(ss Harmes|ger Braunstein|b(ert Rainthorpe| (Rix|Bevan))))|M(i(cha(il Pishchagin|el Sheets)|tch Chapman|etek B\xC4\x85k|k(e Mellor|ael S\xC3\xA4ker))|a(t(s Persson|t(hew Gilbert|eo Spinelli| Pelletier))|r(tin Str\xC3\xB6m|k Grimes)|x Williams))|B(ill Duenskie|ob Fleck|en(oit Gagnon|jamin Jackson| Perry)|arrett Clark|r(ian (Donovan|Lalor)|ett Terpstra|ad (Miller|Choate)))|H(enrik Nyh|adley Wickham)|S(t(ephen Skubik-Peplaski|\xC3\xA9phane Payrard|anley Rost)|imon (Gregory|Strandgaard)|u(ne Foldager|dara Williams)|ebastian Gr\xC3\xA4\xC3\x9Fl|am DeVore)|Nathan Youngman|C(h(a(ndler McWilliams|rilaos Skiadas)|ris(topher Forsythe| (Thomas|Jenkins)))|iar\xC3\xA1n Walsh)|T(homas Aylott|o(rsten Becker|m Lazar|bias Luetke)|akaaki Kato|roy Mcilvena)|Ian (Joyner|White)|Ollivier Robert|D(om(inique Peretti|enico Carbotta)|uane Johnson|a(n(iel Harple| Kelley)|vid (Glasser|Bonnet|Hansson|Powers|Wikler))|rew Colthorp)|J(iun Wei Chia|o(shua Emmons|nathan (Ragan-Kelley|Chaffer)|e Maller|achim M\xC3\xA5rtensson)|ustin French|eroen van der Ham|a(cob Rus|y Soffian|kub Ne\xC5\xA1et\xC5\x99il|m(is Buck|es (Edward Gray II|A. Baker))))|Paul(o Jorge Lopes de Moura| Bissex)|Eric Hsu|K(umar McMillan|evin Ballard)|F(ergus Bremner|abien POTENCIER|lorent Pillet|r(\xC3\xA9d\xC3\xA9ric Ball\xC3\xA9riaux|ank Brault))|Wil(son Miner|liam (D. Neumann|Prater))|A(n(thony Underwood|d(y Herbert|ers Thid|rew Henson))|dam Sanderson|urelio Marinho Jargas|parajita Fishman|l(e( Mu\xC3\xB1oz|xand(er John Ross|re Girard))|an Schussman|lan Odgaard)|mro Nasr))\\)$"
|