devver-ultraviolet 0.10.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (222) hide show
  1. data/History.txt +25 -0
  2. data/Manifest.txt +233 -0
  3. data/README.txt +52 -0
  4. data/bin/theme2latexrender +122 -0
  5. data/bin/theme2xhtmlrender +156 -0
  6. data/bin/uv +140 -0
  7. data/lib/uv.rb +94 -0
  8. data/lib/uv/render_processor.rb +146 -0
  9. data/lib/uv/utility.rb +67 -0
  10. data/render/latex/active4d.render +132 -0
  11. data/render/latex/all_hallows_eve.render +96 -0
  12. data/render/latex/amy.render +171 -0
  13. data/render/latex/blackboard.render +111 -0
  14. data/render/latex/brilliance_black.render +552 -0
  15. data/render/latex/brilliance_dull.render +561 -0
  16. data/render/latex/cobalt.render +162 -0
  17. data/render/latex/dawn.render +126 -0
  18. data/render/latex/eiffel.render +132 -0
  19. data/render/latex/espresso_libre.render +123 -0
  20. data/render/latex/idle.render +93 -0
  21. data/render/latex/iplastic.render +99 -0
  22. data/render/latex/lazy.render +96 -0
  23. data/render/latex/mac_classic.render +135 -0
  24. data/render/latex/magicwb_amiga.render +117 -0
  25. data/render/latex/pastels_on_dark.render +204 -0
  26. data/render/latex/slush_poppies.render +123 -0
  27. data/render/latex/spacecadet.render +81 -0
  28. data/render/latex/sunburst.render +186 -0
  29. data/render/latex/twilight.render +153 -0
  30. data/render/latex/zenburnesque.render +126 -0
  31. data/render/old/txt2tags.render +131 -0
  32. data/render/xhtml/active4d.render +140 -0
  33. data/render/xhtml/all_hallows_eve.render +104 -0
  34. data/render/xhtml/amy.render +179 -0
  35. data/render/xhtml/blackboard.render +119 -0
  36. data/render/xhtml/brilliance_black.render +560 -0
  37. data/render/xhtml/brilliance_dull.render +569 -0
  38. data/render/xhtml/cobalt.render +170 -0
  39. data/render/xhtml/dawn.render +134 -0
  40. data/render/xhtml/eiffel.render +140 -0
  41. data/render/xhtml/espresso_libre.render +131 -0
  42. data/render/xhtml/files/css/active4d.css +114 -0
  43. data/render/xhtml/files/css/all_hallows_eve.css +72 -0
  44. data/render/xhtml/files/css/amy.css +147 -0
  45. data/render/xhtml/files/css/blackboard.css +88 -0
  46. data/render/xhtml/files/css/brilliance_black.css +605 -0
  47. data/render/xhtml/files/css/brilliance_dull.css +599 -0
  48. data/render/xhtml/files/css/cobalt.css +149 -0
  49. data/render/xhtml/files/css/dawn.css +121 -0
  50. data/render/xhtml/files/css/eiffel.css +121 -0
  51. data/render/xhtml/files/css/espresso_libre.css +109 -0
  52. data/render/xhtml/files/css/idle.css +62 -0
  53. data/render/xhtml/files/css/iplastic.css +80 -0
  54. data/render/xhtml/files/css/lazy.css +73 -0
  55. data/render/xhtml/files/css/mac_classic.css +123 -0
  56. data/render/xhtml/files/css/magicwb_amiga.css +104 -0
  57. data/render/xhtml/files/css/pastels_on_dark.css +188 -0
  58. data/render/xhtml/files/css/slush_poppies.css +85 -0
  59. data/render/xhtml/files/css/spacecadet.css +51 -0
  60. data/render/xhtml/files/css/sunburst.css +180 -0
  61. data/render/xhtml/files/css/twilight.css +137 -0
  62. data/render/xhtml/files/css/zenburnesque.css +91 -0
  63. data/render/xhtml/idle.render +101 -0
  64. data/render/xhtml/iplastic.render +107 -0
  65. data/render/xhtml/lazy.render +104 -0
  66. data/render/xhtml/mac_classic.render +143 -0
  67. data/render/xhtml/magicwb_amiga.render +125 -0
  68. data/render/xhtml/pastels_on_dark.render +212 -0
  69. data/render/xhtml/slush_poppies.render +131 -0
  70. data/render/xhtml/spacecadet.render +89 -0
  71. data/render/xhtml/sunburst.render +194 -0
  72. data/render/xhtml/twilight.render +161 -0
  73. data/render/xhtml/zenburnesque.render +134 -0
  74. data/syntax/actionscript.syntax +97 -0
  75. data/syntax/active4d.syntax +276 -0
  76. data/syntax/active4d_html.syntax +311 -0
  77. data/syntax/active4d_ini.syntax +50 -0
  78. data/syntax/active4d_library.syntax +21 -0
  79. data/syntax/ada.syntax +33 -0
  80. data/syntax/antlr.syntax +151 -0
  81. data/syntax/apache.syntax +191 -0
  82. data/syntax/applescript.syntax +384 -0
  83. data/syntax/asp.syntax +70 -0
  84. data/syntax/asp_vb.net.syntax +129 -0
  85. data/syntax/bibtex.syntax +151 -0
  86. data/syntax/blog_html.syntax +41 -0
  87. data/syntax/blog_markdown.syntax +42 -0
  88. data/syntax/blog_text.syntax +27 -0
  89. data/syntax/blog_textile.syntax +27 -0
  90. data/syntax/build.syntax +53 -0
  91. data/syntax/bulletin_board.syntax +287 -0
  92. data/syntax/cake.syntax +55 -0
  93. data/syntax/camlp4.syntax +36 -0
  94. data/syntax/cm.syntax +32 -0
  95. data/syntax/coldfusion.syntax +119 -0
  96. data/syntax/context_free.syntax +176 -0
  97. data/syntax/cs.syntax +59 -0
  98. data/syntax/css.syntax +195 -0
  99. data/syntax/css_experimental.syntax +1925 -0
  100. data/syntax/csv.syntax +68 -0
  101. data/syntax/d.syntax +142 -0
  102. data/syntax/diff.syntax +81 -0
  103. data/syntax/dokuwiki.syntax +204 -0
  104. data/syntax/dot.syntax +47 -0
  105. data/syntax/doxygen.syntax +43 -0
  106. data/syntax/dylan.syntax +62 -0
  107. data/syntax/eiffel.syntax +78 -0
  108. data/syntax/erlang.syntax +922 -0
  109. data/syntax/f-script.syntax +80 -0
  110. data/syntax/fortran.syntax +141 -0
  111. data/syntax/fxscript.syntax +142 -0
  112. data/syntax/greasemonkey.syntax +34 -0
  113. data/syntax/gri.syntax +83 -0
  114. data/syntax/groovy.syntax +191 -0
  115. data/syntax/gtd.syntax +22 -0
  116. data/syntax/gtdalt.syntax +143 -0
  117. data/syntax/haml.syntax +88 -0
  118. data/syntax/haskell.syntax +88 -0
  119. data/syntax/html-asp.syntax +27 -0
  120. data/syntax/html.syntax +362 -0
  121. data/syntax/html_django.syntax +36 -0
  122. data/syntax/html_for_asp.net.syntax +424 -0
  123. data/syntax/html_mason.syntax +119 -0
  124. data/syntax/html_rails.syntax +40 -0
  125. data/syntax/html_tcl.syntax +26 -0
  126. data/syntax/icalendar.syntax +32 -0
  127. data/syntax/inform.syntax +48 -0
  128. data/syntax/ini.syntax +55 -0
  129. data/syntax/installer_distribution_script.syntax +77 -0
  130. data/syntax/io.syntax +81 -0
  131. data/syntax/java.syntax +211 -0
  132. data/syntax/javaproperties.syntax +20 -0
  133. data/syntax/javascript.syntax +256 -0
  134. data/syntax/javascript_+_prototype.syntax +72 -0
  135. data/syntax/javascript_+_prototype_bracketed.syntax +140 -0
  136. data/syntax/jquery_javascript.syntax +114 -0
  137. data/syntax/json.syntax +136 -0
  138. data/syntax/languagedefinition.syntax +708 -0
  139. data/syntax/latex.syntax +566 -0
  140. data/syntax/latex_beamer.syntax +41 -0
  141. data/syntax/latex_log.syntax +50 -0
  142. data/syntax/latex_memoir.syntax +64 -0
  143. data/syntax/lexflex.syntax +219 -0
  144. data/syntax/lighttpd.syntax +54 -0
  145. data/syntax/lilypond.syntax +492 -0
  146. data/syntax/lisp.syntax +61 -0
  147. data/syntax/literate_haskell.syntax +24 -0
  148. data/syntax/logo.syntax +29 -0
  149. data/syntax/logtalk.syntax +152 -0
  150. data/syntax/lua.syntax +86 -0
  151. data/syntax/m.syntax +142 -0
  152. data/syntax/macports_portfile.syntax +163 -0
  153. data/syntax/makefile.syntax +36 -0
  154. data/syntax/man.syntax +17 -0
  155. data/syntax/mediawiki.syntax +567 -0
  156. data/syntax/mips.syntax +66 -0
  157. data/syntax/mod_perl.syntax +50 -0
  158. data/syntax/modula-3.syntax +47 -0
  159. data/syntax/moinmoin.syntax +189 -0
  160. data/syntax/mootools.syntax +572 -0
  161. data/syntax/movable_type.syntax +162 -0
  162. data/syntax/multimarkdown.syntax +39 -0
  163. data/syntax/objective-c++.syntax +18 -0
  164. data/syntax/objective-c.syntax +233 -0
  165. data/syntax/ocaml.syntax +764 -0
  166. data/syntax/ocamllex.syntax +167 -0
  167. data/syntax/ocamlyacc.syntax +184 -0
  168. data/syntax/opengl.syntax +14 -0
  169. data/syntax/pascal.syntax +77 -0
  170. data/syntax/perl.syntax +1115 -0
  171. data/syntax/plain_text.syntax +32 -0
  172. data/syntax/postscript.syntax +114 -0
  173. data/syntax/processing.syntax +106 -0
  174. data/syntax/prolog.syntax +40 -0
  175. data/syntax/property_list.syntax +635 -0
  176. data/syntax/python.syntax +868 -0
  177. data/syntax/python_django.syntax +21 -0
  178. data/syntax/qmake_project.syntax +114 -0
  179. data/syntax/qt_c++.syntax +26 -0
  180. data/syntax/quake3_config.syntax +32 -0
  181. data/syntax/r.syntax +81 -0
  182. data/syntax/r_console.syntax +16 -0
  183. data/syntax/ragel.syntax +201 -0
  184. data/syntax/rd_r_documentation.syntax +91 -0
  185. data/syntax/regexp.syntax +50 -0
  186. data/syntax/release_notes.syntax +46 -0
  187. data/syntax/remind.syntax +253 -0
  188. data/syntax/restructuredtext.syntax +250 -0
  189. data/syntax/rez.syntax +80 -0
  190. data/syntax/ruby.syntax +1035 -0
  191. data/syntax/ruby_experimental.syntax +145 -0
  192. data/syntax/ruby_on_rails.syntax +88 -0
  193. data/syntax/s5.syntax +69 -0
  194. data/syntax/scheme.syntax +347 -0
  195. data/syntax/scilab.syntax +41 -0
  196. data/syntax/setext.syntax +147 -0
  197. data/syntax/shell-unix-generic.syntax +384 -0
  198. data/syntax/slate.syntax +149 -0
  199. data/syntax/sql.syntax +237 -0
  200. data/syntax/sql_rails.syntax +18 -0
  201. data/syntax/ssh-config.syntax +33 -0
  202. data/syntax/standard_ml.syntax +121 -0
  203. data/syntax/strings_file.syntax +39 -0
  204. data/syntax/subversion_commit_message.syntax +36 -0
  205. data/syntax/sweave.syntax +84 -0
  206. data/syntax/swig.syntax +57 -0
  207. data/syntax/tcl.syntax +152 -0
  208. data/syntax/template_toolkit.syntax +121 -0
  209. data/syntax/tex.syntax +86 -0
  210. data/syntax/tex_math.syntax +49 -0
  211. data/syntax/textile.syntax +215 -0
  212. data/syntax/tsv.syntax +50 -0
  213. data/syntax/twiki.syntax +241 -0
  214. data/syntax/txt2tags.syntax +79 -0
  215. data/syntax/vectorscript.syntax +57 -0
  216. data/syntax/xhtml_1.0.syntax +4027 -0
  217. data/syntax/xml.syntax +180 -0
  218. data/syntax/xml_strict.syntax +92 -0
  219. data/syntax/xsl.syntax +60 -0
  220. data/syntax/yaml.syntax +160 -0
  221. data/syntax/yui_javascript.syntax +176 -0
  222. metadata +310 -0
@@ -0,0 +1,68 @@
1
+ ---
2
+ name: CSV
3
+ fileTypes:
4
+ - csv
5
+ scopeName: text.tabular.csv
6
+ repository:
7
+ row:
8
+ name: meta.tabular.row.csv
9
+ begin: ^(?!$)
10
+ end: $
11
+ patterns:
12
+ - include: "#field"
13
+ field:
14
+ patterns:
15
+ - endCaptures:
16
+ "1":
17
+ name: punctuation.definition.field.csv
18
+ "3":
19
+ name: punctuation.separator.tabular.field.csv
20
+ begin: (^|(?<=,))(")
21
+ contentName: meta.tabular.field.quoted.csv
22
+ beginCaptures:
23
+ "2":
24
+ name: punctuation.definition.field.csv
25
+ end: (")($|(,))
26
+ patterns:
27
+ - name: constant.character.escape.straight-quote.csv
28
+ match: "\"\""
29
+ comment: "\n\
30
+ \t\t\t\t\t\tthis field uses \"s and is thus able to enclose\n\
31
+ \t\t\t\t\t\tnewlines or commas\n\
32
+ \t\t\t\t\t"
33
+ - endCaptures:
34
+ "1":
35
+ name: punctuation.separator.tabular.field.csv
36
+ begin: (:^|(?<=,))(?!$|,)
37
+ contentName: meta.tabular.field.csv
38
+ end: $|(,)
39
+ - name: punctuation.separator.tabular.field.csv
40
+ match: ","
41
+ header:
42
+ name: meta.tabular.row.header.csv
43
+ begin: ^(?!$)
44
+ end: $
45
+ patterns:
46
+ - include: "#field"
47
+ table:
48
+ name: meta.tabular.table.csv
49
+ begin: ^
50
+ end: ^$not possible$^
51
+ patterns:
52
+ - include: "#header"
53
+ - begin: (\n)
54
+ beginCaptures:
55
+ "1":
56
+ name: punctuation.separator.table.row.csv
57
+ end: ^$not possible$^
58
+ patterns:
59
+ - include: "#row"
60
+ - name: punctuation.separator.table.row.csv
61
+ match: \n
62
+ comment: "\n\
63
+ \t\t\t\t\t\teverything after the first row is not a header\n\
64
+ \t\t\t\t\t"
65
+ uuid: B0691F9F-D279-48CB-8959-2C9426579002
66
+ patterns:
67
+ - include: "#table"
68
+ keyEquivalent: ^~C
@@ -0,0 +1,142 @@
1
+ ---
2
+ name: D
3
+ fileTypes:
4
+ - d
5
+ firstLineMatch: ^#!.*\bdmd\b.
6
+ scopeName: source.d
7
+ repository:
8
+ string_escaped_char:
9
+ patterns:
10
+ - name: constant.character.escape.c
11
+ match: \\(\\|[abefnprtv'"?]|[0-3]\d{,2}|[4-7]\d?|x[a-zA-Z0-9]+)
12
+ - name: invalid.illegal.unknown-escape.c
13
+ match: \\.
14
+ string_placeholder:
15
+ patterns:
16
+ - name: constant.other.placeholder.c
17
+ match: "(?x)%\n\
18
+ \t\t\t\t\t\t(\\d+\\$)? # field (argument #)\n\
19
+ \t\t\t\t\t\t[#0\\- +']* # flags\n\
20
+ \t\t\t\t\t\t[,;:_]? # separator character (AltiVec)\n\
21
+ \t\t\t\t\t\t((-?\\d+)|\\*(-?\\d+\\$)?)? # minimum field width\n\
22
+ \t\t\t\t\t\t(\\.((-?\\d+)|\\*(-?\\d+\\$)?)?)? # precision\n\
23
+ \t\t\t\t\t\t(hh|h|ll|l|j|t|z|q|L|vh|vl|v|hv|hl)? # length modifier\n\
24
+ \t\t\t\t\t\t[diouxXDOUeEfFgGaACcSspn%] # conversion type\n\
25
+ \t\t\t\t\t"
26
+ - name: invalid.illegal.placeholder.c
27
+ match: "%"
28
+ comment_nested_block_content:
29
+ captures:
30
+ "0":
31
+ name: punctuation.definition.comment.d
32
+ begin: /\+
33
+ end: \+/
34
+ patterns:
35
+ - include: "#comment_nested_block_content"
36
+ uuid: F02BBA11-F58F-4E85-8698-FC74E339D6C3
37
+ foldingStartMarker: (?x)/\*\*(?!\*)|^(?![^{]*?//|[^{]*?/\*(?!.*?\*/.*?\{)).*?\{\s*($|//|/\*(?!.*?\*/.*\S))
38
+ patterns:
39
+ - name: keyword.other.external.d
40
+ match: \b(import|package|module|extern)\b
41
+ - name: keyword.control.conditional.d
42
+ match: \b(if|else|switch|iftype)\b
43
+ - name: keyword.control.branch.d
44
+ match: \b(goto|break|continue)\b
45
+ - name: keyword.control.repeat.d
46
+ match: \b(while|for|do|foreach)\b
47
+ - name: keyword.control.repeat.d
48
+ match: \b(while|for|do|foreach)\b
49
+ - name: constant.language.boolean.d
50
+ match: \b(true|false)\b
51
+ - name: constant.language.d
52
+ match: \b(__FILE__|__LINE__|__DATE__|__TIME__|__TIMESTAMP__|null)\b
53
+ - name: storage.type.typedef.d
54
+ match: \b(alias|typedef)\b
55
+ - name: storage.type.structure.d
56
+ match: \b(template|interface|class|enum|struct|union)\b
57
+ - name: keyword.operator.d
58
+ match: \b(new|delete|typeof|typeid|cast|align|is|this|super)\b
59
+ - name: keyword.operator.overload.d
60
+ match: \b(opNeg|opCom|opPostInc|opPostDec|opCast|opAdd|opSub|opSub_r|opMul|opDiv|opDiv_r|opMod|opMod_r|opAnd|opOr|opXor|opShl|opShl_r|opShr|opShr_r|opUShr|opUShr_r|opCat|opCat_r|opEquals|opEquals|opCmp|opCmp|opCmp|opCmp|opAddAssign|opSubAssign|opMulAssign|opDivAssign|opModAssign|opAndAssign|opOrAssign|opXorAssign|opShlAssign|opShrAssign|opUShrAssign|opCatAssign|opIndex|opIndexAssign|opCall|opSlice|opSliceAssign|opPos|opAdd_r|opMul_r|opAnd_r|opOr_r|opXor_r)\b
61
+ - name: storage.type.d
62
+ match: \b(ushort|int|uint|long|ulong|float|void|byte|ubyte|double|bit|char|wchar|ucent|cent|short|bool|dchar|real|ireal|ifloat|idouble|creal|cfloat|cdouble)\b
63
+ - name: keyword.other.debug.d
64
+ match: \b(deprecated|unittest)\b
65
+ - name: keyword.control.exception.d
66
+ match: \b(throw|try|catch|finally)\b
67
+ - name: storage.modifier.d
68
+ match: \b(public|protected|private|export)\b
69
+ - name: keyword.control.statement.d
70
+ match: \b(version|debug|return|with|invariant|body|scope|in|out|inout|asm|mixin|function|delegate)\b
71
+ - name: storage.modifier.d
72
+ match: \b(auto|static|override|final|const|abstract|volatile|synchronized)\b
73
+ - name: keyword.control.pragma.d
74
+ match: \b(pragma)\b
75
+ - captures:
76
+ "1":
77
+ name: punctuation.section.embedded.mips
78
+ begin: asm[\n]*\s*({)
79
+ end: (})
80
+ patterns:
81
+ - include: source.mips
82
+ comment: |-
83
+ This rule is broken and never gets called anyhow since asm
84
+ is matched above this. If fixed the scopes here should be
85
+ redone as well. -msheets
86
+ - name: comment.block.nested.d
87
+ captures:
88
+ "0":
89
+ name: punctuation.definition.comment.d
90
+ begin: /\+
91
+ end: \+/
92
+ patterns:
93
+ - include: "#comment_nested_block_content"
94
+ - name: comment.block.d
95
+ captures:
96
+ "0":
97
+ name: punctuation.definition.comment.d
98
+ begin: /\*
99
+ end: \*/
100
+ - name: comment.line.double-slash.d
101
+ begin: (//)
102
+ beginCaptures:
103
+ "1":
104
+ name: punctuation.definition.comment.d
105
+ end: $\n?
106
+ patterns:
107
+ - name: punctuation.separator.continuation.d
108
+ match: (?>\\\s*\n)
109
+ - name: constant.numeric.c
110
+ 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|ll|LL|ull|ULL)?\b
111
+ - name: string.quoted.double.c
112
+ endCaptures:
113
+ "0":
114
+ name: punctuation.definition.string.end.d
115
+ begin: "\""
116
+ beginCaptures:
117
+ "0":
118
+ name: punctuation.definition.string.begin.d
119
+ end: "\""
120
+ patterns:
121
+ - include: "#string_escaped_char"
122
+ - include: "#string_placeholder"
123
+ - name: string.quoted.single.c
124
+ endCaptures:
125
+ "0":
126
+ name: punctuation.definition.string.end.d
127
+ begin: "'"
128
+ beginCaptures:
129
+ "0":
130
+ name: punctuation.definition.string.begin.d
131
+ end: "'"
132
+ patterns:
133
+ - include: "#string_escaped_char"
134
+ - name: support.type.sys-types.c
135
+ match: \b(u_char|u_short|u_int|u_long|ushort|uint|u_quad_t|quad_t|qaddr_t|caddr_t|daddr_t|dev_t|fixpt_t|blkcnt_t|blksize_t|gid_t|in_addr_t|in_port_t|ino_t|key_t|mode_t|nlink_t|id_t|pid_t|off_t|segsz_t|swblk_t|uid_t|id_t|clock_t|size_t|ssize_t|time_t|useconds_t|suseconds_t)\b
136
+ - name: support.type.pthread.c
137
+ match: \b(pthread_attr_t|pthread_cond_t|pthread_condattr_t|pthread_mutex_t|pthread_mutexattr_t|pthread_once_t|pthread_rwlock_t|pthread_rwlockattr_t|pthread_t|pthread_key_t)\b
138
+ - name: support.type.stdint.c
139
+ match: \b(int8_t|int16_t|int32_t|int64_t|uint8_t|uint16_t|uint32_t|uint64_t|int_least8_t|int_least16_t|int_least32_t|int_least64_t|uint_least8_t|uint_least16_t|uint_least32_t|uint_least64_t|int_fast8_t|int_fast16_t|int_fast32_t|int_fast64_t|uint_fast8_t|uint_fast16_t|uint_fast32_t|uint_fast64_t|intptr_t|uintptr_t|intmax_t|intmax_t|uintmax_t|uintmax_t)\b
140
+ foldingStopMarker: (?<!\*)\*\*/|^\s*\}
141
+ keyEquivalent: ^~D
142
+ comment: D language
@@ -0,0 +1,81 @@
1
+ ---
2
+ name: Diff
3
+ fileTypes:
4
+ - diff
5
+ - patch
6
+ firstLineMatch: "^(=== modified file|====\\s*//.+\\s-\\s.+\\s+====|Index: |--- [^%]|\\*\\*\\* |\\d+(,\\d+)*(a|d|c)\\d+(,\\d+)*$)"
7
+ scopeName: source.diff
8
+ uuid: 7E848FF4-708E-11D9-97B4-0011242E4184
9
+ patterns:
10
+ - name: meta.separator.diff
11
+ captures:
12
+ "1":
13
+ name: punctuation.definition.separator.diff
14
+ match: ^((\*{15})|(={67})|(-{3}))$\n?
15
+ - name: meta.diff.range.normal
16
+ match: ^\d+(,\d+)*(a|d|c)\d+(,\d+)*$\n?
17
+ - name: meta.diff.range.unified
18
+ captures:
19
+ "1":
20
+ name: punctuation.definition.range.diff
21
+ "2":
22
+ name: meta.toc-list.line-number.diff
23
+ "3":
24
+ name: punctuation.definition.range.diff
25
+ match: ^(@@)\s*(.+?)\s*(@@)$\n?
26
+ - name: meta.diff.range.context
27
+ captures:
28
+ "6":
29
+ name: punctuation.definition.range.diff
30
+ "7":
31
+ name: punctuation.definition.range.diff
32
+ "3":
33
+ name: punctuation.definition.range.diff
34
+ "4":
35
+ name: punctuation.definition.range.diff
36
+ match: ^(((\-{3}) .+ (\-{4}))|((\*{3}) .+ (\*{4})))$\n?
37
+ - name: meta.diff.header.from-file
38
+ captures:
39
+ "6":
40
+ name: punctuation.definition.from-file.diff
41
+ "7":
42
+ name: punctuation.definition.from-file.diff
43
+ "4":
44
+ name: punctuation.definition.from-file.diff
45
+ match: (^(((-{3}) .+)|((\*{3}) .+))$\n?|^(={4}) .+(?= - ))
46
+ - name: meta.diff.header.to-file
47
+ captures:
48
+ "2":
49
+ name: punctuation.definition.to-file.diff
50
+ "3":
51
+ name: punctuation.definition.to-file.diff
52
+ "4":
53
+ name: punctuation.definition.to-file.diff
54
+ match: (^(\+{3}) .+$\n?| (-) .* (={4})$\n?)
55
+ - name: markup.inserted.diff
56
+ captures:
57
+ "6":
58
+ name: punctuation.definition.inserted.diff
59
+ "3":
60
+ name: punctuation.definition.inserted.diff
61
+ match: ^(((>)( .*)?)|((\+).*))$\n?
62
+ - name: markup.changed.diff
63
+ captures:
64
+ "1":
65
+ name: punctuation.definition.inserted.diff
66
+ match: ^(!).*$\n?
67
+ - name: markup.deleted.diff
68
+ captures:
69
+ "6":
70
+ name: punctuation.definition.inserted.diff
71
+ "3":
72
+ name: punctuation.definition.inserted.diff
73
+ match: ^(((<)( .*)?)|((-).*))$\n?
74
+ - name: meta.diff.index
75
+ captures:
76
+ "1":
77
+ name: punctuation.separator.key-value.diff
78
+ "2":
79
+ name: meta.toc-list.file-name.diff
80
+ match: ^Index(:) (.+)$\n?
81
+ keyEquivalent: ^~D
@@ -0,0 +1,204 @@
1
+ ---
2
+ name: DokuWiki
3
+ fileTypes: []
4
+
5
+ firstLineMatch: ^\s*={2,}(.*)={2,}\s*$
6
+ scopeName: text.html.dokuwiki
7
+ repository:
8
+ php:
9
+ patterns:
10
+ - name: source.php.embedded.dokuwiki
11
+ begin: (?:^\s*)(?=<\?(?i:php|=)?(?!.*\?>))
12
+ applyEndPatternLast: 1
13
+ end: (?<=\?>)(?:\s*$\n)?
14
+ patterns:
15
+ - include: source.php
16
+ comment: match only multi-line PHP with leading whitespace
17
+ - name: source.php.embedded.dokuwiki
18
+ begin: (?=<\?(?i:php|=)?)
19
+ applyEndPatternLast: 1
20
+ end: (?<=\?>)
21
+ patterns:
22
+ - include: source.php
23
+ - name: source.php.embedded.dokuwiki
24
+ captures:
25
+ "1":
26
+ name: punctuation.definition.tag.dokuwiki
27
+ "2":
28
+ name: punctuation.definition.tag.dokuwiki
29
+ begin: (<)php(>)
30
+ applyEndPatternLast: 1
31
+ end: (</)php(>)
32
+ patterns:
33
+ - include: source.php
34
+ inline:
35
+ patterns:
36
+ - name: markup.bold.dokuwiki
37
+ captures:
38
+ "0":
39
+ name: punctuation.definition.bold.dokuwiki
40
+ begin: \*\*
41
+ end: \*\*
42
+ patterns:
43
+ - include: "#inline"
44
+ - name: markup.italic.dokuwiki
45
+ captures:
46
+ "0":
47
+ name: punctuation.definition.italic.dokuwiki
48
+ begin: //
49
+ end: //
50
+ patterns:
51
+ - include: "#inline"
52
+ - name: markup.underline.dokuwiki
53
+ captures:
54
+ "0":
55
+ name: punctuation.definition.underline.dokuwiki
56
+ begin: __
57
+ end: __
58
+ patterns:
59
+ - include: "#inline"
60
+ - name: meta.image.inline.dokuwiki
61
+ captures:
62
+ "1":
63
+ name: punctuation.definition.image.dokuwiki
64
+ "2":
65
+ name: markup.underline.link.dokuwiki
66
+ "3":
67
+ name: punctuation.definition.image.dokuwiki
68
+ match: (\{\{)(.+?)(\}\})
69
+ - name: meta.link.dokuwiki
70
+ captures:
71
+ "1":
72
+ name: punctuation.definition.link.dokuwiki
73
+ "2":
74
+ name: markup.underline.link.dokuwiki
75
+ "3":
76
+ name: punctuation.definition.link.dokuwiki
77
+ match: (\[\[)(.*?)(\]\])
78
+ - captures:
79
+ "1":
80
+ name: punctuation.definition.link.dokuwiki
81
+ "2":
82
+ name: markup.underline.link.interwiki.dokuwiki
83
+ "3":
84
+ name: punctuation.definition.link.dokuwiki
85
+ match: (\[\[)([^\[\]]+\>[^|\]]+)(\]\])
86
+ - captures:
87
+ "1":
88
+ name: markup.underline.link.dokuwiki
89
+ match: ((https?|telnet|gopher|wais|ftp|ed2k|irc)://[\w/\#~:.?+=&%@!\-;,]+?(?=[.:?\-;,]*[^\w/\#~:.?+=&%@!\-;,]))
90
+ - name: meta.link.email.dokuwiki
91
+ captures:
92
+ "1":
93
+ name: punctuation.definition.link.dokuwiki
94
+ "2":
95
+ name: markup.underline.link.dokuwiki
96
+ "3":
97
+ name: punctuation.definition.link.dokuwiki
98
+ match: (<)([\w0-9\-_.]+?@[\w\-]+\.[\w\-\.]+\.*[\w]+)(\>)
99
+ uuid: 862D8B02-501E-4205-9DA4-FB7CDA7AE3DA
100
+ foldingStartMarker: (<(php|html|file|nowiki)>|<code(\s*.*)?>)|/\*\*|\{\s*$
101
+ patterns:
102
+ - include: "#php"
103
+ - include: "#inline"
104
+ - name: string.quoted.double.dokuwiki
105
+ endCaptures:
106
+ "0":
107
+ name: punctuation.definition.string.end.dokuwiki
108
+ begin: "\""
109
+ beginCaptures:
110
+ "0":
111
+ name: punctuation.definition.string.begin.dokuwiki
112
+ end: "\""
113
+ patterns:
114
+ - name: constant.character.escape.dokuwiki
115
+ match: \\.
116
+ - name: comment.block.documentation.dokuwiki
117
+ captures:
118
+ "0":
119
+ name: punctuation.definition.comment.dokuwiki
120
+ begin: \(\(
121
+ end: \)\)
122
+ - name: markup.heading.dokuwiki
123
+ captures:
124
+ "1":
125
+ name: punctuation.definition.heading.dokuwiki
126
+ "3":
127
+ name: punctuation.definition.heading.dokuwiki
128
+ match: ^\s*(={2,})(.*)(={2,})\s*$\n?
129
+ - name: keyword.other.notoc.dokuwiki
130
+ match: ~~NOTOC~~
131
+ - name: keyword.other.nocache.dokuwiki
132
+ match: ~~NOCACHE~~
133
+ - name: meta.separator.dokuwiki
134
+ match: ^\s*-{4,}\s*$
135
+ - name: markup.other.paragraph.dokuwiki
136
+ match: \\\\\s
137
+ - name: markup.list.unnumbered.dokuwiki
138
+ captures:
139
+ "4":
140
+ name: punctuation.definition.list_item.dokuwiki
141
+ begin: ^((\t+)|( {2,}))(\*)
142
+ end: $\n?
143
+ patterns:
144
+ - include: "#inline"
145
+ - name: markup.list.numbered.dokuwiki
146
+ captures:
147
+ "4":
148
+ name: punctuation.definition.list_item.dokuwiki
149
+ begin: ^((\t+)|( {2,}))(-)
150
+ end: $\n?
151
+ patterns:
152
+ - include: "#inline"
153
+ - name: markup.other.table.dokuwiki
154
+ begin: ^[|^]
155
+ beginCaptures:
156
+ "0":
157
+ name: punctuation.definition.table.dokuwiki
158
+ end: $
159
+ patterns:
160
+ - include: "#inline"
161
+ - name: markup.raw.dokuwiki
162
+ captures:
163
+ "1":
164
+ name: punctuation.definition.tag.dokuwiki
165
+ "3":
166
+ name: punctuation.definition.tag.dokuwiki
167
+ begin: (\<)(file|nowiki)(\>)
168
+ end: (<\/)(\2)(\>)
169
+ - name: markup.raw.dokuwiki
170
+ captures:
171
+ "0":
172
+ name: punctuation.definition.raw.dokuwiki
173
+ begin: (%%|\'\')
174
+ end: \1
175
+ - captures:
176
+ "1":
177
+ name: punctuation.definition.tag.dokuwiki
178
+ "2":
179
+ name: punctuation.definition.tag.dokuwiki
180
+ begin: (<)html(>)
181
+ end: (</)html(>)
182
+ patterns:
183
+ - include: text.html.basic
184
+ - name: markup.raw.dokuwiki
185
+ match: ^((\s\s)|(\t))[^\*\-].*$
186
+ - name: markup.other.dokuwiki
187
+ captures:
188
+ "1":
189
+ name: punctuation.definition.tag.dokuwiki
190
+ "3":
191
+ name: punctuation.definition.tag.dokuwiki
192
+ begin: (\<)(sub|sup|del)(\>)
193
+ end: (\</)(\2)(\>)
194
+ patterns:
195
+ - include: "#inline"
196
+ - name: markup.raw.dokuwiki
197
+ captures:
198
+ "1":
199
+ name: punctuation.definition.tag.dokuwiki
200
+ "2":
201
+ name: punctuation.definition.tag.dokuwiki
202
+ begin: (<)code(?:\s+[^>]*)?(>)
203
+ end: (</)code(>)
204
+ foldingStopMarker: (</(code|php|html|file|nowiki)>)|\*\*/|^\s*\}