Bayeux 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (238) hide show
  1. data/.hgrc +2 -0
  2. data/.rvmrc +27 -0
  3. data/Gemfile +42 -0
  4. data/Gemfile.lock +42 -0
  5. data/HISTORY +63 -0
  6. data/README.rdoc +19 -0
  7. data/Rakefile +89 -0
  8. data/VERSION +1 -0
  9. data/bib/Modules.bib +21 -0
  10. data/code/render/latex/active4d.render +132 -0
  11. data/code/render/latex/all_hallows_eve.render +96 -0
  12. data/code/render/latex/amy.render +171 -0
  13. data/code/render/latex/blackboard.render +111 -0
  14. data/code/render/latex/brilliance_black.render +552 -0
  15. data/code/render/latex/brilliance_dull.render +561 -0
  16. data/code/render/latex/cobalt.render +162 -0
  17. data/code/render/latex/dawn.render +126 -0
  18. data/code/render/latex/eiffel.render +132 -0
  19. data/code/render/latex/espresso_libre.render +123 -0
  20. data/code/render/latex/idle.render +93 -0
  21. data/code/render/latex/iplastic.render +99 -0
  22. data/code/render/latex/lazy.render +96 -0
  23. data/code/render/latex/mac_classic.render +135 -0
  24. data/code/render/latex/magicwb_amiga.render +117 -0
  25. data/code/render/latex/pastels_on_dark.render +204 -0
  26. data/code/render/latex/slush_poppies.render +123 -0
  27. data/code/render/latex/spacecadet.render +81 -0
  28. data/code/render/latex/sunburst.render +186 -0
  29. data/code/render/latex/twilight.render +153 -0
  30. data/code/render/latex/zenburnesque.render +126 -0
  31. data/code/render/old/txt2tags.render +131 -0
  32. data/code/render/xhtml/active4d.render +140 -0
  33. data/code/render/xhtml/all_hallows_eve.render +104 -0
  34. data/code/render/xhtml/amy.render +179 -0
  35. data/code/render/xhtml/blackboard.render +119 -0
  36. data/code/render/xhtml/brilliance_black.render +560 -0
  37. data/code/render/xhtml/brilliance_dull.render +569 -0
  38. data/code/render/xhtml/cobalt.render +170 -0
  39. data/code/render/xhtml/dawn.render +134 -0
  40. data/code/render/xhtml/eiffel.render +140 -0
  41. data/code/render/xhtml/espresso_libre.render +131 -0
  42. data/code/render/xhtml/files/css/active4d.css +114 -0
  43. data/code/render/xhtml/files/css/all_hallows_eve.css +72 -0
  44. data/code/render/xhtml/files/css/amy.css +147 -0
  45. data/code/render/xhtml/files/css/blackboard.css +88 -0
  46. data/code/render/xhtml/files/css/brilliance_black.css +605 -0
  47. data/code/render/xhtml/files/css/brilliance_dull.css +599 -0
  48. data/code/render/xhtml/files/css/cobalt.css +149 -0
  49. data/code/render/xhtml/files/css/dawn.css +121 -0
  50. data/code/render/xhtml/files/css/eiffel.css +121 -0
  51. data/code/render/xhtml/files/css/espresso_libre.css +109 -0
  52. data/code/render/xhtml/files/css/idle.css +62 -0
  53. data/code/render/xhtml/files/css/iplastic.css +80 -0
  54. data/code/render/xhtml/files/css/lazy.css +73 -0
  55. data/code/render/xhtml/files/css/mac_classic.css +123 -0
  56. data/code/render/xhtml/files/css/magicwb_amiga.css +104 -0
  57. data/code/render/xhtml/files/css/pastels_on_dark.css +188 -0
  58. data/code/render/xhtml/files/css/slush_poppies.css +85 -0
  59. data/code/render/xhtml/files/css/spacecadet.css +51 -0
  60. data/code/render/xhtml/files/css/sunburst.css +180 -0
  61. data/code/render/xhtml/files/css/twilight.css +137 -0
  62. data/code/render/xhtml/files/css/zenburnesque.css +91 -0
  63. data/code/render/xhtml/idle.render +101 -0
  64. data/code/render/xhtml/iplastic.render +107 -0
  65. data/code/render/xhtml/lazy.render +104 -0
  66. data/code/render/xhtml/mac_classic.render +143 -0
  67. data/code/render/xhtml/magicwb_amiga.render +125 -0
  68. data/code/render/xhtml/pastels_on_dark.render +212 -0
  69. data/code/render/xhtml/slush_poppies.render +131 -0
  70. data/code/render/xhtml/spacecadet.render +89 -0
  71. data/code/render/xhtml/sunburst.render +194 -0
  72. data/code/render/xhtml/twilight.render +161 -0
  73. data/code/render/xhtml/zenburnesque.render +134 -0
  74. data/code/syntax/actionscript.syntax +97 -0
  75. data/code/syntax/active4d.syntax +276 -0
  76. data/code/syntax/active4d_html.syntax +311 -0
  77. data/code/syntax/active4d_ini.syntax +50 -0
  78. data/code/syntax/active4d_library.syntax +21 -0
  79. data/code/syntax/ada.syntax +33 -0
  80. data/code/syntax/antlr.syntax +151 -0
  81. data/code/syntax/apache.syntax +191 -0
  82. data/code/syntax/applescript.syntax +384 -0
  83. data/code/syntax/asp.syntax +70 -0
  84. data/code/syntax/asp_vb.net.syntax +129 -0
  85. data/code/syntax/bibtex.syntax +151 -0
  86. data/code/syntax/blog_html.syntax +41 -0
  87. data/code/syntax/blog_markdown.syntax +42 -0
  88. data/code/syntax/blog_text.syntax +27 -0
  89. data/code/syntax/blog_textile.syntax +27 -0
  90. data/code/syntax/build.syntax +53 -0
  91. data/code/syntax/bulletin_board.syntax +287 -0
  92. data/code/syntax/cake.syntax +55 -0
  93. data/code/syntax/camlp4.syntax +36 -0
  94. data/code/syntax/cm.syntax +32 -0
  95. data/code/syntax/coldfusion.syntax +119 -0
  96. data/code/syntax/context_free.syntax +176 -0
  97. data/code/syntax/cs.syntax +59 -0
  98. data/code/syntax/css.syntax +195 -0
  99. data/code/syntax/css_experimental.syntax +1925 -0
  100. data/code/syntax/csv.syntax +68 -0
  101. data/code/syntax/d.syntax +142 -0
  102. data/code/syntax/diff.syntax +81 -0
  103. data/code/syntax/dokuwiki.syntax +204 -0
  104. data/code/syntax/dot.syntax +47 -0
  105. data/code/syntax/doxygen.syntax +43 -0
  106. data/code/syntax/dylan.syntax +62 -0
  107. data/code/syntax/eiffel.syntax +78 -0
  108. data/code/syntax/erlang.syntax +922 -0
  109. data/code/syntax/f-script.syntax +80 -0
  110. data/code/syntax/fortran.syntax +141 -0
  111. data/code/syntax/fxscript.syntax +142 -0
  112. data/code/syntax/greasemonkey.syntax +34 -0
  113. data/code/syntax/gri.syntax +83 -0
  114. data/code/syntax/groovy.syntax +191 -0
  115. data/code/syntax/gtd.syntax +22 -0
  116. data/code/syntax/gtdalt.syntax +143 -0
  117. data/code/syntax/haml.syntax +88 -0
  118. data/code/syntax/haskell.syntax +88 -0
  119. data/code/syntax/html-asp.syntax +27 -0
  120. data/code/syntax/html.syntax +362 -0
  121. data/code/syntax/html_django.syntax +36 -0
  122. data/code/syntax/html_for_asp.net.syntax +424 -0
  123. data/code/syntax/html_mason.syntax +119 -0
  124. data/code/syntax/html_rails.syntax +40 -0
  125. data/code/syntax/html_tcl.syntax +26 -0
  126. data/code/syntax/icalendar.syntax +32 -0
  127. data/code/syntax/inform.syntax +48 -0
  128. data/code/syntax/ini.syntax +55 -0
  129. data/code/syntax/installer_distribution_script.syntax +77 -0
  130. data/code/syntax/io.syntax +81 -0
  131. data/code/syntax/java.syntax +211 -0
  132. data/code/syntax/javaproperties.syntax +20 -0
  133. data/code/syntax/javascript.syntax +256 -0
  134. data/code/syntax/javascript_+_prototype.syntax +72 -0
  135. data/code/syntax/javascript_+_prototype_bracketed.syntax +140 -0
  136. data/code/syntax/jquery_javascript.syntax +114 -0
  137. data/code/syntax/json.syntax +136 -0
  138. data/code/syntax/languagedefinition.syntax +708 -0
  139. data/code/syntax/latex.syntax +566 -0
  140. data/code/syntax/latex_beamer.syntax +41 -0
  141. data/code/syntax/latex_log.syntax +50 -0
  142. data/code/syntax/latex_memoir.syntax +64 -0
  143. data/code/syntax/lexflex.syntax +219 -0
  144. data/code/syntax/lighttpd.syntax +54 -0
  145. data/code/syntax/lilypond.syntax +492 -0
  146. data/code/syntax/lisp.syntax +61 -0
  147. data/code/syntax/literate_haskell.syntax +24 -0
  148. data/code/syntax/logo.syntax +29 -0
  149. data/code/syntax/logtalk.syntax +152 -0
  150. data/code/syntax/lua.syntax +86 -0
  151. data/code/syntax/m.syntax +142 -0
  152. data/code/syntax/macports_portfile.syntax +163 -0
  153. data/code/syntax/makefile.syntax +36 -0
  154. data/code/syntax/man.syntax +17 -0
  155. data/code/syntax/mediawiki.syntax +567 -0
  156. data/code/syntax/mips.syntax +66 -0
  157. data/code/syntax/mod_perl.syntax +50 -0
  158. data/code/syntax/modula-3.syntax +47 -0
  159. data/code/syntax/moinmoin.syntax +189 -0
  160. data/code/syntax/mootools.syntax +572 -0
  161. data/code/syntax/movable_type.syntax +162 -0
  162. data/code/syntax/multimarkdown.syntax +39 -0
  163. data/code/syntax/objective-c++.syntax +18 -0
  164. data/code/syntax/objective-c.syntax +233 -0
  165. data/code/syntax/ocaml.syntax +764 -0
  166. data/code/syntax/ocamllex.syntax +167 -0
  167. data/code/syntax/ocamlyacc.syntax +184 -0
  168. data/code/syntax/opengl.syntax +14 -0
  169. data/code/syntax/pascal.syntax +77 -0
  170. data/code/syntax/perl.syntax +1115 -0
  171. data/code/syntax/plain_text.syntax +32 -0
  172. data/code/syntax/postscript.syntax +114 -0
  173. data/code/syntax/processing.syntax +106 -0
  174. data/code/syntax/prolog.syntax +40 -0
  175. data/code/syntax/property_list.syntax +635 -0
  176. data/code/syntax/python.syntax +868 -0
  177. data/code/syntax/python_django.syntax +21 -0
  178. data/code/syntax/qmake_project.syntax +114 -0
  179. data/code/syntax/qt_c++.syntax +26 -0
  180. data/code/syntax/quake3_config.syntax +32 -0
  181. data/code/syntax/r.syntax +81 -0
  182. data/code/syntax/r_console.syntax +16 -0
  183. data/code/syntax/ragel.syntax +201 -0
  184. data/code/syntax/rd_r_documentation.syntax +91 -0
  185. data/code/syntax/regexp.syntax +50 -0
  186. data/code/syntax/release_notes.syntax +46 -0
  187. data/code/syntax/remind.syntax +253 -0
  188. data/code/syntax/restructuredtext.syntax +250 -0
  189. data/code/syntax/rez.syntax +80 -0
  190. data/code/syntax/ruby.syntax +1035 -0
  191. data/code/syntax/ruby_experimental.syntax +145 -0
  192. data/code/syntax/ruby_on_rails.syntax +88 -0
  193. data/code/syntax/s5.syntax +69 -0
  194. data/code/syntax/scheme.syntax +347 -0
  195. data/code/syntax/scilab.syntax +41 -0
  196. data/code/syntax/setext.syntax +147 -0
  197. data/code/syntax/shell-unix-generic.syntax +384 -0
  198. data/code/syntax/slate.syntax +149 -0
  199. data/code/syntax/sql.syntax +237 -0
  200. data/code/syntax/sql_rails.syntax +18 -0
  201. data/code/syntax/ssh-config.syntax +33 -0
  202. data/code/syntax/standard_ml.syntax +121 -0
  203. data/code/syntax/strings_file.syntax +39 -0
  204. data/code/syntax/subversion_commit_message.syntax +36 -0
  205. data/code/syntax/sweave.syntax +84 -0
  206. data/code/syntax/swig.syntax +57 -0
  207. data/code/syntax/tcl.syntax +152 -0
  208. data/code/syntax/template_toolkit.syntax +121 -0
  209. data/code/syntax/tex.syntax +86 -0
  210. data/code/syntax/tex_math.syntax +49 -0
  211. data/code/syntax/textile.syntax +215 -0
  212. data/code/syntax/tsv.syntax +50 -0
  213. data/code/syntax/twiki.syntax +241 -0
  214. data/code/syntax/txt2tags.syntax +79 -0
  215. data/code/syntax/vectorscript.syntax +57 -0
  216. data/code/syntax/xhtml_1.0.syntax +4027 -0
  217. data/code/syntax/xml.syntax +180 -0
  218. data/code/syntax/xml_strict.syntax +92 -0
  219. data/code/syntax/xsl.syntax +60 -0
  220. data/code/syntax/yaml.syntax +160 -0
  221. data/code/syntax/yui_javascript.syntax +176 -0
  222. data/lib/bayeux/bayeux.rb +727 -0
  223. data/lib/bayeux/html_gen.rb +506 -0
  224. data/lib/bayeux/latex_gen.rb +333 -0
  225. data/lib/bayeux/para_block.rb +201 -0
  226. data/lib/bayeux/text_gen.rb +307 -0
  227. data/lib/bayeux/tree_walker.rb +166 -0
  228. data/lib/filters/bayeux.rb +44 -0
  229. data/lib/filters/pandoc.rb +23 -0
  230. data/lib/filters/section_id.rb +105 -0
  231. data/lib/helpers/breadcrumbs.rb +64 -0
  232. data/lib/helpers/site_toc.rb +11 -0
  233. data/lib/lib/uv.rb +92 -0
  234. data/lib/lib/uv/render_processor.rb +146 -0
  235. data/lib/lib/uv/utility.rb +67 -0
  236. data/lib/refs/Doc_Blocks.rb +2 -0
  237. data/lib/refs/References.rb +104 -0
  238. metadata +415 -0
@@ -0,0 +1,129 @@
1
+ ---
2
+ name: ASP vb.NET
3
+ fileTypes:
4
+ - vb
5
+ scopeName: source.asp.vb.net
6
+ repository:
7
+ round-brackets:
8
+ name: meta.round-brackets
9
+ endCaptures:
10
+ "0":
11
+ name: punctuation.section.round-brackets.end.asp
12
+ begin: \(
13
+ beginCaptures:
14
+ "0":
15
+ name: punctuation.section.round-brackets.begin.asp
16
+ end: \)
17
+ patterns:
18
+ - include: source.asp.vb.net
19
+ uuid: 7F9C9343-D48E-4E7D-BFE8-F680714DCD3E
20
+ foldingStartMarker: (<(?i:(head|table|div|style|script|ul|ol|form|dl))\b.*?>|\{|^\s*<?%?\s*'?\s*(?i:(sub|private\s+Sub|public\s+Sub|function|if|while|For))\s*.*$)
21
+ patterns:
22
+ - name: meta.ending-space
23
+ match: \n
24
+ - include: "#round-brackets"
25
+ - name: meta.leading-space
26
+ begin: ^(?=\t)
27
+ end: (?=[^\t])
28
+ patterns:
29
+ - captures:
30
+ "1":
31
+ name: meta.odd-tab.tabs
32
+ "2":
33
+ name: meta.even-tab.tabs
34
+ match: (\t)(\t)?
35
+ - name: meta.leading-space
36
+ begin: ^(?= )
37
+ end: (?=[^ ])
38
+ patterns:
39
+ - captures:
40
+ "1":
41
+ name: meta.odd-tab.spaces
42
+ "2":
43
+ name: meta.even-tab.spaces
44
+ match: ( )( )?
45
+ - name: meta.function.asp
46
+ captures:
47
+ "1":
48
+ name: storage.type.function.asp
49
+ "2":
50
+ name: entity.name.function.asp
51
+ "3":
52
+ name: punctuation.definition.parameters.asp
53
+ "4":
54
+ name: variable.parameter.function.asp
55
+ "5":
56
+ name: punctuation.definition.parameters.asp
57
+ match: ^\s*((?i:function|sub))\s*([a-zA-Z_]\w*)\s*(\()([^)]*)(\)).*\n?
58
+ - name: comment.line.apostrophe.asp
59
+ begin: "'"
60
+ beginCaptures:
61
+ "0":
62
+ name: punctuation.definition.comment.asp
63
+ end: (?=(\n|%>))
64
+ - name: keyword.control.asp
65
+ match: (?i:\b(If|Then|Else|ElseIf|Else If|End If|While|Wend|For|To|Each|Case|Select|End Select|Return|Continue|Do|Until|Loop|Next|With|Exit Do|Exit For|Exit Function|Exit Property|Exit Sub|IIf)\b)
66
+ - name: keyword.operator.asp
67
+ match: (?i:\b(Mod|And|Not|Or|Xor|as)\b)
68
+ - name: variable.other.dim.asp
69
+ captures:
70
+ "1":
71
+ name: storage.type.asp
72
+ "2":
73
+ name: variable.other.bfeac.asp
74
+ "3":
75
+ name: meta.separator.comma.asp
76
+ match: (?i:(dim)\s*(?:(\b[a-zA-Z_x7f-xff][a-zA-Z0-9_x7f-xff]*?\b)\s*(,?)))
77
+ - name: storage.type.asp
78
+ match: (?i:\s*\b(Call|Class|Const|Dim|Redim|Function|Sub|Private Sub|Public Sub|End sub|End Function|Set|Let|Get|New|Randomize|Option Explicit|On Error Resume Next|On Error GoTo)\b\s*)
79
+ - name: storage.modifier.asp
80
+ match: (?i:\b(Private|Public|Default)\b)
81
+ - name: constant.language.asp
82
+ match: (?i:\s*\b(Empty|False|Nothing|Null|True)\b)
83
+ - name: string.quoted.double.asp
84
+ endCaptures:
85
+ "0":
86
+ name: punctuation.definition.string.end.asp
87
+ begin: "\""
88
+ beginCaptures:
89
+ "0":
90
+ name: punctuation.definition.string.begin.asp
91
+ end: "\""
92
+ patterns:
93
+ - name: constant.character.escape.apostrophe.asp
94
+ match: "\"\""
95
+ - name: variable.other.asp
96
+ captures:
97
+ "1":
98
+ name: punctuation.definition.variable.asp
99
+ match: (\$)[a-zA-Z_x7f-xff][a-zA-Z0-9_x7f-xff]*?\b\s*
100
+ - name: support.class.asp
101
+ match: (?i:\b(Application|ObjectContext|Request|Response|Server|Session)\b)
102
+ - name: support.class.collection.asp
103
+ match: (?i:\b(Contents|StaticObjects|ClientCertificate|Cookies|Form|QueryString|ServerVariables)\b)
104
+ - name: support.constant.asp
105
+ match: (?i:\b(TotalBytes|Buffer|CacheControl|Charset|ContentType|Expires|ExpiresAbsolute|IsClientConnected|PICS|Status|ScriptTimeout|CodePage|LCID|SessionID|Timeout)\b)
106
+ - name: support.function.asp
107
+ match: (?i:\b(Lock|Unlock|SetAbort|SetComplete|BianryRead|AddHeader|AppendToLog|BinaryWrite|Clear|End|Flush|Redirect|Write|CreateObject|HTMLEncode|MapPath|URLEncode|Abandon|Convert|Regex)\b)
108
+ - name: support.function.event.asp
109
+ match: (?i:\b(Application_OnEnd|Application_OnStart|OnTransactionAbort|OnTransactionCommit|Session_OnEnd|Session_OnStart)\b)
110
+ - name: support.type.vb.asp
111
+ match: (?i:(?<=as )(\b[a-zA-Z_x7f-xff][a-zA-Z0-9_x7f-xff]*?\b))
112
+ - name: support.function.vb.asp
113
+ match: (?i:\b(Array|Add|Asc|Atn|CBool|CByte|CCur|CDate|CDbl|Chr|CInt|CLng|Conversions|Cos|CreateObject|CSng|CStr|Date|DateAdd|DateDiff|DatePart|DateSerial|DateValue|Day|Derived|Math|Escape|Eval|Exists|Exp|Filter|FormatCurrency|FormatDateTime|FormatNumber|FormatPercent|GetLocale|GetObject|GetRef|Hex|Hour|InputBox|InStr|InStrRev|Int|Fix|IsArray|IsDate|IsEmpty|IsNull|IsNumeric|IsObject|Item|Items|Join|Keys|LBound|LCase|Left|Len|LoadPicture|Log|LTrim|RTrim|Trim|Maths|Mid|Minute|Month|MonthName|MsgBox|Now|Oct|Remove|RemoveAll|Replace|RGB|Right|Rnd|Round|ScriptEngine|ScriptEngineBuildVersion|ScriptEngineMajorVersion|ScriptEngineMinorVersion|Second|SetLocale|Sgn|Sin|Space|Split|Sqr|StrComp|String|StrReverse|Tan|Time|Timer|TimeSerial|TimeValue|TypeName|UBound|UCase|Unescape|VarType|Weekday|WeekdayName|Year)\b)
114
+ - name: constant.numeric.asp
115
+ match: -?\b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\.?[0-9]*)|(\.[0-9]+))((e|E)(\+|-)?[0-9]+)?)(L|l|UL|ul|u|U|F|f)?\b
116
+ - name: support.type.vb.asp
117
+ match: (?i:\b(vbtrue|fvbalse|vbcr|vbcrlf|vbformfeed|vblf|vbnewline|vbnullchar|vbnullstring|int32|vbtab|vbverticaltab|vbbinarycompare|vbtextcomparevbsunday|vbmonday|vbtuesday|vbwednesday|vbthursday|vbfriday|vbsaturday|vbusesystemdayofweek|vbfirstjan1|vbfirstfourdays|vbfirstfullweek|vbgeneraldate|vblongdate|vbshortdate|vblongtime|vbshorttime|vbobjecterror|vbEmpty|vbNull|vbInteger|vbLong|vbSingle|vbDouble|vbCurrency|vbDate|vbString|vbObject|vbError|vbBoolean|vbVariant|vbDataObject|vbDecimal|vbByte|vbArray)\b)
118
+ - name: support.function.asp
119
+ captures:
120
+ "1":
121
+ name: entity.name.function.asp
122
+ match: (?i:(\b[a-zA-Z_x7f-xff][a-zA-Z0-9_x7f-xff]*?\b)(?=\(\)?))
123
+ - name: variable.other.asp
124
+ match: (?i:((?<=(\+|=|-|\&|\\|/|<|>|\(|,))\s*\b([a-zA-Z_x7f-xff][a-zA-Z0-9_x7f-xff]*?)\b(?!(\(|\.))|\b([a-zA-Z_x7f-xff][a-zA-Z0-9_x7f-xff]*?)\b(?=\s*(\+|=|-|\&|\\|/|<|>|\(|\)))))
125
+ - name: keyword.operator.js
126
+ match: "!|\\$|%|&|\\*|\\-\\-|\\-|\\+\\+|\\+|~|===|==|=|!=|!==|<=|>=|<<=|>>=|>>>=|<>|<|>|!|&&|\\|\\||\\?\\:|\\*=|/=|%=|\\+=|\\-=|&=|\\^=|\\b(in|instanceof|new|delete|typeof|void)\\b"
127
+ foldingStopMarker: (</(?i:(head|table|div|style|script|ul|ol|form|dl))>?|\}|^\s*<?%?\s*\s*'?\s*(?i:(end|Next))\s*.*$)
128
+ keyEquivalent: ^~A
129
+ comment: Modified from the original ASP bundle. Originally modified by Thomas Aylott subtleGradient.com
@@ -0,0 +1,151 @@
1
+ ---
2
+ name: BibTeX
3
+ fileTypes:
4
+ - bib
5
+ scopeName: text.bibtex
6
+ repository:
7
+ nested_braces:
8
+ endCaptures:
9
+ "0":
10
+ name: punctuation.definition.group.end.bibtex
11
+ begin: \{
12
+ beginCaptures:
13
+ "0":
14
+ name: punctuation.definition.group.begin.bibtex
15
+ end: \}
16
+ patterns:
17
+ - include: "#nested_braces"
18
+ integer:
19
+ name: constant.numeric.bibtex
20
+ match: \d+
21
+ string_content:
22
+ patterns:
23
+ - name: string.quoted.double.bibtex
24
+ endCaptures:
25
+ "0":
26
+ name: punctuation.definition.string.end.bibtex
27
+ begin: "\""
28
+ beginCaptures:
29
+ "0":
30
+ name: punctuation.definition.string.begin.bibtex
31
+ end: "\""
32
+ patterns:
33
+ - include: "#nested_braces"
34
+ - name: string.quoted.other.braces.bibtex
35
+ endCaptures:
36
+ "0":
37
+ name: punctuation.definition.string.end.bibtex
38
+ begin: \{
39
+ beginCaptures:
40
+ "0":
41
+ name: punctuation.definition.string.begin.bibtex
42
+ end: \}
43
+ patterns:
44
+ - name: invalid.illegal.at-sign.bibtex
45
+ match: "@"
46
+ - include: "#nested_braces"
47
+ uuid: 47F30BA1-6B1D-11D9-9A60-000D93589AF6
48
+ foldingStartMarker: \@[a-zA-Z]+\s*[{(].+,
49
+ patterns:
50
+ - name: comment.line.at-sign.bibtex
51
+ begin: "@Comment"
52
+ beginCaptures:
53
+ "0":
54
+ name: punctuation.definition.comment.bibtex
55
+ end: $\n?
56
+ - name: meta.string-constant.braces.bibtex
57
+ endCaptures:
58
+ "0":
59
+ name: punctuation.section.string-constant.end.bibtex
60
+ begin: ((@)String)\s*(\{)\s*([a-zA-Z]*)
61
+ beginCaptures:
62
+ "1":
63
+ name: keyword.other.string-constant.bibtex
64
+ "2":
65
+ name: punctuation.definition.keyword.bibtex
66
+ "3":
67
+ name: punctuation.section.string-constant.begin.bibtex
68
+ "4":
69
+ name: variable.other.bibtex
70
+ end: \}
71
+ patterns:
72
+ - include: "#string_content"
73
+ - name: meta.string-constant.parenthesis.bibtex
74
+ endCaptures:
75
+ "0":
76
+ name: punctuation.section.string-constant.end.bibtex
77
+ begin: ((@)String)\s*(\()\s*([a-zA-Z]*)
78
+ beginCaptures:
79
+ "1":
80
+ name: keyword.other.string-constant.bibtex
81
+ "2":
82
+ name: punctuation.definition.keyword.bibtex
83
+ "3":
84
+ name: punctuation.section.string-constant.begin.bibtex
85
+ "4":
86
+ name: variable.other.bibtex
87
+ end: \)
88
+ patterns:
89
+ - include: "#string_content"
90
+ - name: meta.entry.braces.bibtex
91
+ endCaptures:
92
+ "0":
93
+ name: punctuation.section.entry.end.bibtex
94
+ begin: ((@)[a-zA-Z]+)\s*(\{)\s*([^\s,]*)
95
+ beginCaptures:
96
+ "1":
97
+ name: keyword.other.entry-type.bibtex
98
+ "2":
99
+ name: punctuation.definition.keyword.bibtex
100
+ "3":
101
+ name: punctuation.section.entry.begin.bibtex
102
+ "4":
103
+ name: entity.name.type.entry-key.bibtex
104
+ end: \}
105
+ patterns:
106
+ - name: meta.key-assignment.bibtex
107
+ begin: ([a-zA-Z]+)\s*(\=)
108
+ beginCaptures:
109
+ "1":
110
+ name: string.unquoted.key.bibtex
111
+ "2":
112
+ name: punctuation.separator.key-value.bibtex
113
+ end: (?=[,}])
114
+ patterns:
115
+ - include: "#string_content"
116
+ - include: "#integer"
117
+ - name: meta.entry.parenthesis.bibtex
118
+ endCaptures:
119
+ "0":
120
+ name: punctuation.section.entry.end.bibtex
121
+ begin: ((@)[a-zA-Z]+)\s*(\()\s*([^\s,]*)
122
+ beginCaptures:
123
+ "1":
124
+ name: keyword.other.entry-type.bibtex
125
+ "2":
126
+ name: punctuation.definition.keyword.bibtex
127
+ "3":
128
+ name: punctuation.section.entry.begin.bibtex
129
+ "4":
130
+ name: entity.name.type.entry-key.bibtex
131
+ end: \)
132
+ patterns:
133
+ - name: meta.key-assignment.bibtex
134
+ begin: ([a-zA-Z]+)\s*(\=)
135
+ beginCaptures:
136
+ "1":
137
+ name: string.unquoted.key.bibtex
138
+ "2":
139
+ name: punctuation.separator.key-value.bibtex
140
+ end: (?=[,)])
141
+ patterns:
142
+ - include: "#string_content"
143
+ - include: "#integer"
144
+ - name: comment.block.bibtex
145
+ begin: "[^@\\n]"
146
+ end: (?=@)
147
+ foldingStopMarker: ^\s*[)}]\s*$
148
+ comment: "Grammar based on description from http://artis.imag.fr/~Xavier.Decoret/resources/xdkbibtex/bibtex_summary.html#comment\n\
149
+ \t\n\
150
+ \tTODO: Does not support @preamble\n\
151
+ \t"
@@ -0,0 +1,41 @@
1
+ ---
2
+ name: "Blog \xE2\x80\x94 HTML"
3
+ fileTypes:
4
+ - blog.html
5
+ firstLineMatch: "^Type: Blog Post \\(HTML\\)"
6
+ scopeName: text.blog.html
7
+ uuid: E46F5C50-5D16-4B5C-8FBB-686BD3768284
8
+ foldingStartMarker: |-
9
+ (?x)
10
+ (<(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)\b.*?>
11
+ |<!--(?!.*--\s*>)
12
+ |\{\{?(if|foreach|capture|literal|foreach|php|section|strip)
13
+ |\{\s*($|\?>\s*$|//|/\*(.*\*/\s*$|(?!.*?\*/)))
14
+ )
15
+ patterns:
16
+ - name: meta.header.blog
17
+ captures:
18
+ "1":
19
+ name: keyword.other.blog
20
+ "2":
21
+ name: punctuation.separator.key-value.blog
22
+ "3":
23
+ name: string.unquoted.blog
24
+ match: ^([Tt]itle|[Dd]ate|[Bb]asename|[Kk]eywords|[Bb]log|[Tt]ype|[Ll]ink|[Pp]ost|[Tt]ags|[Cc]omments|[Pp]ings?|[Cc]ategory|[Ss]tatus|[Ff]ormat)(:)\s*(.*)$\n?
25
+ - name: invalid.illegal.meta.header.blog
26
+ match: ^([A-Za-z0-9]+):\s*(.*)$\n?
27
+ - name: text.html
28
+ begin: ^(?![A-Za-z0-9]+:)
29
+ end: ^(?=not)possible$
30
+ patterns:
31
+ - name: meta.separator.blog
32
+ match: "^\xE2\x9C\x82-[\xE2\x9C\x82-]+$\\n"
33
+ - include: text.html.basic
34
+ foldingStopMarker: |-
35
+ (?x)
36
+ (</(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)>
37
+ |^(?!.*?<!--).*?--\s*>
38
+ |\{\{?/(if|foreach|capture|literal|foreach|php|section|strip)
39
+ |^[^{]*\}
40
+ )
41
+ keyEquivalent: ^~B
@@ -0,0 +1,42 @@
1
+ ---
2
+ name: "Blog \xE2\x80\x94 Markdown"
3
+ fileTypes:
4
+ - blog.markdown
5
+ - blog.mdown
6
+ - blog.mkdn
7
+ - blog.md
8
+ firstLineMatch: "^Type: Blog Post \\(Markdown\\)"
9
+ scopeName: text.blog.markdown
10
+ uuid: 6AA68B5B-18B8-4922-9CED-0E2295582955
11
+ foldingStartMarker: |-
12
+ (?x)
13
+ (<(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)\b.*?>
14
+ |<!--(?!.*-->)
15
+ |\{\s*($|\?>\s*$|//|/\*(.*\*/\s*$|(?!.*?\*/)))
16
+ )
17
+ patterns:
18
+ - name: meta.header.blog
19
+ captures:
20
+ "1":
21
+ name: keyword.other.blog
22
+ "2":
23
+ name: punctuation.separator.key-value.blog
24
+ "3":
25
+ name: string.unquoted.blog
26
+ match: ^([Tt]itle|[Dd]ate|[Bb]asename|[Kk]eywords|[Bb]log|[Tt]ype|[Ll]ink|[Pp]ost|[Tt]ags|[Cc]omments|[Pp]ings?|[Cc]ategory|[Ss]tatus|[Ff]ormat)(:)\s*(.*)$\n?
27
+ - name: invalid.illegal.meta.header.blog
28
+ match: ^([A-Za-z0-9]+):\s*(.*)$\n?
29
+ - name: text.html.markdown
30
+ begin: ^(?![A-Za-z0-9]+:)
31
+ end: ^(?=not)possible$
32
+ patterns:
33
+ - name: meta.separator.blog
34
+ match: "^\xE2\x9C\x82-[\xE2\x9C\x82-]+$\\n"
35
+ - include: text.html.markdown
36
+ foldingStopMarker: |-
37
+ (?x)
38
+ (</(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)>
39
+ |^\s*-->
40
+ |(^|\s)\}
41
+ )
42
+ keyEquivalent: ^~B
@@ -0,0 +1,27 @@
1
+ ---
2
+ name: "Blog \xE2\x80\x94 Text"
3
+ fileTypes:
4
+ - blog.txt
5
+ firstLineMatch: "^Type: Blog Post \\(Text\\)"
6
+ scopeName: text.blog
7
+ uuid: B2CCDFF8-0FB3-492A-8761-D31FF0FAC448
8
+ patterns:
9
+ - name: meta.header.blog
10
+ captures:
11
+ "1":
12
+ name: keyword.other.blog
13
+ "2":
14
+ name: punctuation.separator.key-value.blog
15
+ "3":
16
+ name: string.unquoted.blog
17
+ match: ^([Tt]itle|[Dd]ate|[Bb]asename|[Kk]eywords|[Bb]log|[Tt]ype|[Ll]ink|[Pp]ost|[Tt]ags|[Cc]omments|[Pp]ings?|[Cc]ategory|[Ss]tatus|[Ff]ormat)(:)\s*(.*)$\n?
18
+ - name: invalid.illegal.meta.header.blog
19
+ match: ^([A-Za-z0-9]+):\s*(.*)$\n?
20
+ - name: text.plain
21
+ begin: ^(?![A-Za-z0-9]+:)
22
+ end: ^(?=not)possible$
23
+ patterns:
24
+ - name: meta.separator.blog
25
+ match: "^\xE2\x9C\x82-[\xE2\x9C\x82-]+$\\n"
26
+ - include: text.plain
27
+ keyEquivalent: ^~B
@@ -0,0 +1,27 @@
1
+ ---
2
+ name: "Blog \xE2\x80\x94 Textile"
3
+ fileTypes:
4
+ - blog.textile
5
+ firstLineMatch: "^Type: Blog Post \\(Textile\\)"
6
+ scopeName: text.blog.textile
7
+ uuid: 32E65853-CDBD-401A-ADBE-F94F195249BE
8
+ patterns:
9
+ - name: meta.header.blog
10
+ captures:
11
+ "1":
12
+ name: keyword.other.blog
13
+ "2":
14
+ name: punctuation.separator.key-value.blog
15
+ "3":
16
+ name: string.unquoted.blog
17
+ match: ^([Tt]itle|[Dd]ate|[Bb]asename|[Kk]eywords|[Bb]log|[Tt]ype|[Ll]ink|[Pp]ost|[Tt]ags|[Cc]omments|[Pp]ings?|[Cc]ategory|[Ss]tatus|[Ff]ormat)(:)\s*(.*)$\n?
18
+ - name: invalid.illegal.meta.header.blog
19
+ match: ^([A-Za-z0-9]+):\s*(.*)$\n?
20
+ - name: text.html.textile
21
+ begin: ^(?![A-Za-z0-9]+:)
22
+ end: ^(?=not)possible$
23
+ patterns:
24
+ - name: meta.separator.blog
25
+ match: "^\xE2\x9C\x82-[\xE2\x9C\x82-]+$\\n"
26
+ - include: text.html.textile
27
+ keyEquivalent: ^~B
@@ -0,0 +1,53 @@
1
+ ---
2
+ name: NAnt Build File
3
+ fileTypes:
4
+ - build
5
+ scopeName: source.nant-build
6
+ uuid: 1BA72668-707C-11D9-A928-000D93589AF6
7
+ foldingStartMarker: <[^!?/>]+|<!--
8
+ patterns:
9
+ - name: comment.block.nant
10
+ captures:
11
+ "0":
12
+ name: punctuation.definition.comment.nant
13
+ begin: <!--
14
+ end: -->
15
+ - name: meta.tag.nant
16
+ captures:
17
+ "1":
18
+ name: punctuation.definition.tag.nant
19
+ "2":
20
+ name: entity.name.tag.nant
21
+ begin: (</?)([-_a-zA-Z0-9:]+)
22
+ end: (/?>)
23
+ patterns:
24
+ - name: entity.other.attribute-name.nant
25
+ match: " ([a-zA-Z-]+)"
26
+ - name: string.quoted.double.nant
27
+ endCaptures:
28
+ "0":
29
+ name: punctuation.definition.string.end.nant
30
+ begin: "\""
31
+ beginCaptures:
32
+ "0":
33
+ name: punctuation.definition.string.begin.nant
34
+ end: "\""
35
+ - name: string.quoted.single.nant
36
+ endCaptures:
37
+ "0":
38
+ name: punctuation.definition.string.end.nant
39
+ begin: "'"
40
+ beginCaptures:
41
+ "0":
42
+ name: punctuation.definition.string.begin.nant
43
+ end: "'"
44
+ - name: constant.character.entity.nant
45
+ captures:
46
+ "1":
47
+ name: punctuation.definition.constant.nant
48
+ "3":
49
+ name: punctuation.definition.constant.nant
50
+ match: (&)([a-zA-Z]+|#[0-9]+|#x[0-9a-fA-F]+)(;)
51
+ - name: invalid.illegal.bad-ampersand.nant
52
+ match: "&"
53
+ foldingStopMarker: />|</[^?>]+|-->