uv 0.0.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +4 -0
- data/Gemfile +4 -0
- data/README.rdoc +79 -0
- data/Rakefile +1 -0
- data/bin/theme2latexrender +122 -0
- data/bin/theme2xhtmlrender +158 -0
- data/bin/uv +140 -0
- data/lib/uv/engine.rb +4 -0
- data/lib/uv/render_processor.rb +140 -0
- data/lib/uv/utility.rb +67 -0
- data/lib/uv/version.rb +3 -0
- data/lib/uv.rb +110 -0
- data/render/latex/active4d.render +132 -0
- data/render/latex/all_hallows_eve.render +96 -0
- data/render/latex/amy.render +171 -0
- data/render/latex/blackboard.render +111 -0
- data/render/latex/brilliance_black.render +552 -0
- data/render/latex/brilliance_dull.render +561 -0
- data/render/latex/cobalt.render +162 -0
- data/render/latex/dawn.render +126 -0
- data/render/latex/eiffel.render +132 -0
- data/render/latex/espresso_libre.render +123 -0
- data/render/latex/idle.render +93 -0
- data/render/latex/iplastic.render +99 -0
- data/render/latex/lazy.render +96 -0
- data/render/latex/mac_classic.render +135 -0
- data/render/latex/magicwb_amiga.render +117 -0
- data/render/latex/pastels_on_dark.render +204 -0
- data/render/latex/slush_poppies.render +123 -0
- data/render/latex/spacecadet.render +81 -0
- data/render/latex/sunburst.render +186 -0
- data/render/latex/twilight.render +153 -0
- data/render/latex/zenburnesque.render +126 -0
- data/render/old/txt2tags.render +131 -0
- data/render/xhtml/active4d.render +140 -0
- data/render/xhtml/all_hallows_eve.render +104 -0
- data/render/xhtml/amy.render +179 -0
- data/render/xhtml/blackboard.render +119 -0
- data/render/xhtml/brilliance_black.render +560 -0
- data/render/xhtml/brilliance_dull.render +569 -0
- data/render/xhtml/cobalt.render +170 -0
- data/render/xhtml/dawn.render +134 -0
- data/render/xhtml/eiffel.render +140 -0
- data/render/xhtml/espresso_libre.render +131 -0
- data/render/xhtml/idle.render +101 -0
- data/render/xhtml/iplastic.render +107 -0
- data/render/xhtml/lazy.render +104 -0
- data/render/xhtml/mac_classic.render +143 -0
- data/render/xhtml/magicwb_amiga.render +125 -0
- data/render/xhtml/pastels_on_dark.render +212 -0
- data/render/xhtml/railscasts.render +93 -0
- data/render/xhtml/slush_poppies.render +131 -0
- data/render/xhtml/spacecadet.render +83 -0
- data/render/xhtml/sunburst.render +194 -0
- data/render/xhtml/twilight.render +161 -0
- data/render/xhtml/zenburnesque.render +134 -0
- data/ruby-uv.gemspec +24 -0
- data/syntax/actionscript.syntax +97 -0
- data/syntax/active4d.syntax +276 -0
- data/syntax/active4d_html.syntax +311 -0
- data/syntax/active4d_ini.syntax +50 -0
- data/syntax/active4d_library.syntax +21 -0
- data/syntax/ada.syntax +33 -0
- data/syntax/antlr.syntax +151 -0
- data/syntax/apache.syntax +191 -0
- data/syntax/applescript.syntax +384 -0
- data/syntax/asp.syntax +70 -0
- data/syntax/asp_vb.net.syntax +129 -0
- data/syntax/bibtex.syntax +151 -0
- data/syntax/blog_html.syntax +41 -0
- data/syntax/blog_markdown.syntax +42 -0
- data/syntax/blog_text.syntax +27 -0
- data/syntax/blog_textile.syntax +27 -0
- data/syntax/build.syntax +53 -0
- data/syntax/bulletin_board.syntax +287 -0
- data/syntax/bundler.syntax +11 -0
- data/syntax/cake.syntax +55 -0
- data/syntax/camlp4.syntax +36 -0
- data/syntax/cm.syntax +32 -0
- data/syntax/coldfusion.syntax +119 -0
- data/syntax/context_free.syntax +176 -0
- data/syntax/cs.syntax +59 -0
- data/syntax/css.syntax +195 -0
- data/syntax/css_experimental.syntax +1925 -0
- data/syntax/css_zen.syntax +197 -0
- data/syntax/csv.syntax +68 -0
- data/syntax/cucumber_plain_text_feature.syntax +140 -0
- data/syntax/cucumber_steps.syntax +154 -0
- data/syntax/d.syntax +142 -0
- data/syntax/diff.syntax +81 -0
- data/syntax/dokuwiki.syntax +204 -0
- data/syntax/dot.syntax +47 -0
- data/syntax/doxygen.syntax +43 -0
- data/syntax/dylan.syntax +62 -0
- data/syntax/eiffel.syntax +78 -0
- data/syntax/erlang.syntax +922 -0
- data/syntax/f-script.syntax +80 -0
- data/syntax/fortran.syntax +141 -0
- data/syntax/fxscript.syntax +142 -0
- data/syntax/greasemonkey.syntax +34 -0
- data/syntax/gri.syntax +83 -0
- data/syntax/groovy.syntax +191 -0
- data/syntax/gtd.syntax +22 -0
- data/syntax/gtdalt.syntax +143 -0
- data/syntax/haml.syntax +153 -0
- data/syntax/haskell.syntax +88 -0
- data/syntax/html-asp.syntax +27 -0
- data/syntax/html.syntax +362 -0
- data/syntax/html_django.syntax +36 -0
- data/syntax/html_for_asp.net.syntax +424 -0
- data/syntax/html_mason.syntax +119 -0
- data/syntax/html_rails.syntax +32 -0
- data/syntax/html_tcl.syntax +26 -0
- data/syntax/icalendar.syntax +32 -0
- data/syntax/inform.syntax +48 -0
- data/syntax/ini.syntax +55 -0
- data/syntax/installer_distribution_script.syntax +77 -0
- data/syntax/io.syntax +81 -0
- data/syntax/java.syntax +211 -0
- data/syntax/javaproperties.syntax +20 -0
- data/syntax/javascript.syntax +256 -0
- data/syntax/javascript_+_prototype.syntax +72 -0
- data/syntax/javascript_+_prototype_bracketed.syntax +140 -0
- data/syntax/javascript_rails.syntax +30 -0
- data/syntax/jquery_javascript.syntax +154 -0
- data/syntax/json.syntax +136 -0
- data/syntax/languagedefinition.syntax +708 -0
- data/syntax/latex.syntax +566 -0
- data/syntax/latex_beamer.syntax +41 -0
- data/syntax/latex_log.syntax +50 -0
- data/syntax/latex_memoir.syntax +64 -0
- data/syntax/lexflex.syntax +219 -0
- data/syntax/lighttpd.syntax +54 -0
- data/syntax/lilypond.syntax +492 -0
- data/syntax/lisp.syntax +61 -0
- data/syntax/literate_haskell.syntax +24 -0
- data/syntax/logo.syntax +29 -0
- data/syntax/logtalk.syntax +152 -0
- data/syntax/lua.syntax +86 -0
- data/syntax/m.syntax +142 -0
- data/syntax/macports_portfile.syntax +163 -0
- data/syntax/makefile.syntax +36 -0
- data/syntax/man.syntax +17 -0
- data/syntax/mediawiki.syntax +567 -0
- data/syntax/mips.syntax +66 -0
- data/syntax/mod_perl.syntax +50 -0
- data/syntax/modula-3.syntax +47 -0
- data/syntax/moinmoin.syntax +189 -0
- data/syntax/mootools.syntax +572 -0
- data/syntax/movable_type.syntax +162 -0
- data/syntax/multimarkdown.syntax +39 -0
- data/syntax/objective-c++.syntax +18 -0
- data/syntax/objective-c.syntax +233 -0
- data/syntax/ocaml.syntax +764 -0
- data/syntax/ocamllex.syntax +167 -0
- data/syntax/ocamlyacc.syntax +184 -0
- data/syntax/opengl.syntax +14 -0
- data/syntax/pascal.syntax +77 -0
- data/syntax/perl.syntax +1115 -0
- data/syntax/plain_text.syntax +32 -0
- data/syntax/postscript.syntax +114 -0
- data/syntax/processing.syntax +106 -0
- data/syntax/prolog.syntax +40 -0
- data/syntax/property_list.syntax +635 -0
- data/syntax/python.syntax +868 -0
- data/syntax/python_django.syntax +21 -0
- data/syntax/qmake_project.syntax +114 -0
- data/syntax/qt_c++.syntax +26 -0
- data/syntax/quake3_config.syntax +32 -0
- data/syntax/r.syntax +81 -0
- data/syntax/r_console.syntax +16 -0
- data/syntax/ragel.syntax +201 -0
- data/syntax/rd_r_documentation.syntax +91 -0
- data/syntax/regexp.syntax +50 -0
- data/syntax/release_notes.syntax +46 -0
- data/syntax/remind.syntax +253 -0
- data/syntax/restructuredtext.syntax +250 -0
- data/syntax/rez.syntax +80 -0
- data/syntax/rspec.syntax +68 -0
- data/syntax/ruby.syntax +1035 -0
- data/syntax/ruby_experimental.syntax +145 -0
- data/syntax/ruby_on_rails.syntax +200 -0
- data/syntax/ruby_sass.syntax +395 -0
- data/syntax/s5.syntax +69 -0
- data/syntax/scheme.syntax +347 -0
- data/syntax/scilab.syntax +41 -0
- data/syntax/scss.syntax +528 -0
- data/syntax/setext.syntax +147 -0
- data/syntax/shell-unix-generic.syntax +384 -0
- data/syntax/shoulda.syntax +160 -0
- data/syntax/slate.syntax +149 -0
- data/syntax/sql.syntax +237 -0
- data/syntax/sql_rails.syntax +19 -0
- data/syntax/ssh-config.syntax +33 -0
- data/syntax/standard_ml.syntax +121 -0
- data/syntax/strings_file.syntax +39 -0
- data/syntax/subversion_commit_message.syntax +36 -0
- data/syntax/sweave.syntax +84 -0
- data/syntax/swig.syntax +57 -0
- data/syntax/tcl.syntax +152 -0
- data/syntax/template_toolkit.syntax +121 -0
- data/syntax/tex.syntax +86 -0
- data/syntax/tex_math.syntax +49 -0
- data/syntax/textile.syntax +215 -0
- data/syntax/tsv.syntax +50 -0
- data/syntax/twiki.syntax +241 -0
- data/syntax/txt2tags.syntax +79 -0
- data/syntax/vectorscript.syntax +57 -0
- data/syntax/xhtml_1.0.syntax +4027 -0
- data/syntax/xml.syntax +180 -0
- data/syntax/xml_strict.syntax +92 -0
- data/syntax/xsl.syntax +60 -0
- data/syntax/yaml.syntax +160 -0
- data/syntax/yui_javascript.syntax +176 -0
- data/test/test_uv.rb +17 -0
- data/vendor/assets/stylesheets/active4d.css +117 -0
- data/vendor/assets/stylesheets/all_hallows_eve.css +75 -0
- data/vendor/assets/stylesheets/all_uv_themes.css.scss +4 -0
- data/vendor/assets/stylesheets/amy.css +150 -0
- data/vendor/assets/stylesheets/blackboard.css +91 -0
- data/vendor/assets/stylesheets/brilliance_black.css +608 -0
- data/vendor/assets/stylesheets/brilliance_dull.css +602 -0
- data/vendor/assets/stylesheets/cobalt.css +152 -0
- data/vendor/assets/stylesheets/dawn.css +124 -0
- data/vendor/assets/stylesheets/eiffel.css +124 -0
- data/vendor/assets/stylesheets/espresso_libre.css +112 -0
- data/vendor/assets/stylesheets/idle.css +65 -0
- data/vendor/assets/stylesheets/iplastic.css +83 -0
- data/vendor/assets/stylesheets/lazy.css +76 -0
- data/vendor/assets/stylesheets/mac_classic.css +126 -0
- data/vendor/assets/stylesheets/magicwb_amiga.css +107 -0
- data/vendor/assets/stylesheets/pastels_on_dark.css +191 -0
- data/vendor/assets/stylesheets/railscasts.css +74 -0
- data/vendor/assets/stylesheets/slush_poppies.css +88 -0
- data/vendor/assets/stylesheets/spacecadet.css +54 -0
- data/vendor/assets/stylesheets/sunburst.css +183 -0
- data/vendor/assets/stylesheets/twilight.css +140 -0
- data/vendor/assets/stylesheets/zenburnesque.css +94 -0
- metadata +311 -0
|
@@ -0,0 +1,395 @@
|
|
|
1
|
+
---
|
|
2
|
+
comment: ''
|
|
3
|
+
fileTypes:
|
|
4
|
+
- sass
|
|
5
|
+
foldingStartMarker: ^\s*([-%#\:\.\w\=].*)\s$
|
|
6
|
+
foldingStopMarker: ^\s*$
|
|
7
|
+
keyEquivalent: ^~S
|
|
8
|
+
name: Ruby Sass
|
|
9
|
+
patterns:
|
|
10
|
+
- begin: ^(\!|\$)([a-zA-Z0-9_-]+)\s*((?:\|\|)?=|:)
|
|
11
|
+
beginCaptures:
|
|
12
|
+
'1':
|
|
13
|
+
name: punctuation.definition.entity.sass
|
|
14
|
+
'2':
|
|
15
|
+
name: variable.other.sass
|
|
16
|
+
'3':
|
|
17
|
+
name: punctuation.definition.entity.sass
|
|
18
|
+
end: (;)?$
|
|
19
|
+
endCaptures:
|
|
20
|
+
'1':
|
|
21
|
+
name: invalid.illegal.punctuation.sass
|
|
22
|
+
name: meta.variable-declaration.sass
|
|
23
|
+
patterns:
|
|
24
|
+
- include: ! '#property-value'
|
|
25
|
+
- begin: ^(=|@mixin\s+)([a-zA-Z0-9_-]+)
|
|
26
|
+
beginCaptures:
|
|
27
|
+
'1':
|
|
28
|
+
name: keyword.control.at-rule.mixin.sass
|
|
29
|
+
'2':
|
|
30
|
+
name: variable.other.sass
|
|
31
|
+
'3':
|
|
32
|
+
name: punctuation.definition.entity.sass
|
|
33
|
+
end: (;)?$
|
|
34
|
+
endCaptures:
|
|
35
|
+
'1':
|
|
36
|
+
name: invalid.illegal.punctuation.sass
|
|
37
|
+
name: meta.variable-declaration.sass.mixin
|
|
38
|
+
patterns:
|
|
39
|
+
- include: ! '#property-value'
|
|
40
|
+
- begin: ^\s*(\+|@include\s+)([a-zA-Z0-9_-]+)
|
|
41
|
+
beginCaptures:
|
|
42
|
+
'1':
|
|
43
|
+
name: keyword.control.at-rule.import.sass
|
|
44
|
+
'2':
|
|
45
|
+
name: variable.other.sass
|
|
46
|
+
'3':
|
|
47
|
+
name: punctuation.definition.entity.sass
|
|
48
|
+
end: (;)?$
|
|
49
|
+
endCaptures:
|
|
50
|
+
'1':
|
|
51
|
+
name: invalid.illegal.punctuation.sass
|
|
52
|
+
name: meta.function.include.sass
|
|
53
|
+
patterns:
|
|
54
|
+
- include: ! '#property-value'
|
|
55
|
+
- captures:
|
|
56
|
+
'1':
|
|
57
|
+
name: keyword.control.at-rule.extend.sass
|
|
58
|
+
'2':
|
|
59
|
+
name: variable.other.sass
|
|
60
|
+
'3':
|
|
61
|
+
name: invalid.illegal.punctuation.sass
|
|
62
|
+
match: ^\s*(@extend)\s+([.*&#a-zA-Z][:.*&#a-zA-Z]*)\s*(;)?\s*$
|
|
63
|
+
name: meta.function.extend.sass
|
|
64
|
+
- begin: ^\s*(\+)([a-zA-Z0-9_-]+)
|
|
65
|
+
beginCaptures:
|
|
66
|
+
'1':
|
|
67
|
+
name: punctuation.definition.entity.sass
|
|
68
|
+
'2':
|
|
69
|
+
name: variable.other.sass
|
|
70
|
+
'3':
|
|
71
|
+
name: punctuation.definition.entity.sass
|
|
72
|
+
end: (;)?$
|
|
73
|
+
endCaptures:
|
|
74
|
+
'1':
|
|
75
|
+
name: invalid.illegal.punctuation.sass
|
|
76
|
+
name: meta.variable-usage.sass
|
|
77
|
+
patterns:
|
|
78
|
+
- captures:
|
|
79
|
+
'1':
|
|
80
|
+
name: punctuation.definition.entity.css
|
|
81
|
+
'2':
|
|
82
|
+
name: variable.other.sass
|
|
83
|
+
match: (\!|\$)([a-zA-Z0-9_-]+)
|
|
84
|
+
name: meta.variable-usage.sass
|
|
85
|
+
- include: ! '#string-single'
|
|
86
|
+
- include: ! '#string-double'
|
|
87
|
+
- begin: (?=[.*&#a-zA-Z][:.*&#a-zA-Z]*)
|
|
88
|
+
end: (;)?$
|
|
89
|
+
endCaptures:
|
|
90
|
+
'1':
|
|
91
|
+
name: invalid.illegal.punctuation.sass
|
|
92
|
+
name: meta.selector.css
|
|
93
|
+
patterns:
|
|
94
|
+
- include: ! '#comment-block'
|
|
95
|
+
- match: (&)
|
|
96
|
+
name: keyword.other.parent-reference.sass
|
|
97
|
+
- match: ! "(?x)\\b\n\t\t\t\t\t (a|abbr|acronym|address|area|article|aside|audio|b|base|big|blockquote|body|\n\t\t\t\t
|
|
98
|
+
\ br|button|canvas|caption|cite|code|col|colgroup|command|datalist|dd|del|\n\t\t\t\t
|
|
99
|
+
\ details|dfn|div|dl|dt|em|embed|fieldset|figure|footer|form|frame|frameset|\n\t\t\t\t
|
|
100
|
+
\ (h[1-6])|head|header|hgroup|hr|html|i|iframe|img|input|ins|kbd|keygen|\n\t\t\t\t
|
|
101
|
+
\ label|legend|li|link|map|mark|meta|meter|nav|noframes|noscript|object|\n\t\t\t\t
|
|
102
|
+
\ ol|optgroup|option|output|p|param|pre|progress|q|rp|rt|ruby|samp|script|\n\t\t\t\t
|
|
103
|
+
\ section|select|small|source|span|strike|strong|sub|sup|table|tbody|td|\n\t\t\t\t
|
|
104
|
+
\ textarea|tfoot|th|thead|time|title|tr|tt|ul|var|video)\\b"
|
|
105
|
+
name: entity.name.tag.css.sass
|
|
106
|
+
- captures:
|
|
107
|
+
'1':
|
|
108
|
+
name: punctuation.definition.entity.css
|
|
109
|
+
match: (\.)[a-zA-Z0-9_-]+
|
|
110
|
+
name: entity.other.attribute-name.class.sass
|
|
111
|
+
- captures:
|
|
112
|
+
'1':
|
|
113
|
+
name: punctuation.definition.entity.sass
|
|
114
|
+
match: (#)[a-zA-Z][a-zA-Z0-9_-]*
|
|
115
|
+
name: entity.other.attribute-name.id.css.sass
|
|
116
|
+
- match: \*
|
|
117
|
+
name: entity.name.tag.wildcard.sass
|
|
118
|
+
- captures:
|
|
119
|
+
'1':
|
|
120
|
+
name: punctuation.definition.entity.sass
|
|
121
|
+
match: (:+)\b(after|before|first-child|first-letter|first-line|last-child|selection)\b
|
|
122
|
+
name: entity.other.attribute-name.pseudo-element.sass
|
|
123
|
+
- captures:
|
|
124
|
+
'1':
|
|
125
|
+
name: punctuation.definition.entity.sass
|
|
126
|
+
match: (:)\b(active|hover|link|visited|focus)\b
|
|
127
|
+
name: entity.other.attribute-name.pseudo-class.css.sass
|
|
128
|
+
- captures:
|
|
129
|
+
'1':
|
|
130
|
+
name: punctuation.definition.entity.sass
|
|
131
|
+
'2':
|
|
132
|
+
name: entity.other.attribute-name.attribute.sass
|
|
133
|
+
'3':
|
|
134
|
+
name: punctuation.separator.operator.sass
|
|
135
|
+
'4':
|
|
136
|
+
name: string.unquoted.attribute-value.sass
|
|
137
|
+
'5':
|
|
138
|
+
name: string.quoted.double.attribute-value.sass
|
|
139
|
+
'6':
|
|
140
|
+
name: punctuation.definition.string.begin.sass
|
|
141
|
+
'7':
|
|
142
|
+
name: punctuation.definition.string.end.sass
|
|
143
|
+
match: (?i)(\[)\s*(-?[_a-z\\[[:^ascii:]]][_a-z0-9\-\\[[:^ascii:]]]*)(?:\s*([~|^$*]?=)\s*(?:(-?[_a-z\\[[:^ascii:]]][_a-z0-9\-\\[[:^ascii:]]]*)|((?>(['"])(?:[^\\]|\\.)*?(\6)))))?\s*(\])
|
|
144
|
+
name: meta.attribute-selector.css.sass
|
|
145
|
+
- include: ! '#comment-block'
|
|
146
|
+
- begin: ^\s*((@)import\b)
|
|
147
|
+
beginCaptures:
|
|
148
|
+
'1':
|
|
149
|
+
name: keyword.control.at-rule.import.sass
|
|
150
|
+
'2':
|
|
151
|
+
name: punctuation.definition.keyword.sass
|
|
152
|
+
end: (;)?$
|
|
153
|
+
endCaptures:
|
|
154
|
+
'1':
|
|
155
|
+
name: invalid.illegal.punctuation.sass
|
|
156
|
+
name: meta.at-rule.import.sass
|
|
157
|
+
patterns:
|
|
158
|
+
- include: ! '#string-double'
|
|
159
|
+
- begin: (url)\s*(\()\s*
|
|
160
|
+
beginCaptures:
|
|
161
|
+
'1':
|
|
162
|
+
name: support.function.url.sass
|
|
163
|
+
'2':
|
|
164
|
+
name: punctuation.section.function.sass
|
|
165
|
+
end: \s*(\))\s*
|
|
166
|
+
endCaptures:
|
|
167
|
+
'1':
|
|
168
|
+
name: punctuation.section.function.sass
|
|
169
|
+
patterns:
|
|
170
|
+
- match: ! '[^''") \t]+'
|
|
171
|
+
name: variable.parameter.url.sass
|
|
172
|
+
- include: ! '#string-single'
|
|
173
|
+
- include: ! '#string-double'
|
|
174
|
+
- match: ([^"'\n;]+)
|
|
175
|
+
name: variable.parameter.url.sass
|
|
176
|
+
- begin: ^\s*((@)media)\s+(((all|aural|braille|embossed|handheld|print|projection|screen|tty|tv)\s*,?\s*)+)\s*{
|
|
177
|
+
captures:
|
|
178
|
+
'1':
|
|
179
|
+
name: keyword.control.at-rule.media.sass
|
|
180
|
+
'2':
|
|
181
|
+
name: punctuation.definition.keyword.sass
|
|
182
|
+
'3':
|
|
183
|
+
name: support.constant.media.sass
|
|
184
|
+
end: \s*((?=;|\}))
|
|
185
|
+
name: meta.at-rule.media.sass
|
|
186
|
+
patterns:
|
|
187
|
+
- include: $self
|
|
188
|
+
- begin: (?<!|\$[-a-z])(:)(?=[-a-z])
|
|
189
|
+
beginCaptures:
|
|
190
|
+
'1':
|
|
191
|
+
name: punctuation.definition.entity.css.sass
|
|
192
|
+
end: (;)?$
|
|
193
|
+
endCaptures:
|
|
194
|
+
'1':
|
|
195
|
+
name: invalid.illegal.punctuation.sass
|
|
196
|
+
name: meta.property-name.sass
|
|
197
|
+
patterns:
|
|
198
|
+
- match: ! "(?x)\n\t\t\t\t\t (azimuth|background-attachment|background-color|background-image|\n\t\t\t\t
|
|
199
|
+
\ background-position|background-repeat|background|border-bottom-color|\n\t\t\t\t
|
|
200
|
+
\ border-bottom-style|border-bottom-width|border-bottom|border-collapse|\n\t\t\t\t
|
|
201
|
+
\ border-color|border-left-color|border-left-style|border-left-width|\n\t\t\t\t
|
|
202
|
+
\ border-left|border-radius|border-right-color|border-right-style|\n\t\t\t\t
|
|
203
|
+
\ border-right-width|border-right|border-spacing|border-style|border-top-color|\n\t\t\t\t
|
|
204
|
+
\ border-top-style|border-top-width|border-top|border-width|border|bottom|\n\t\t\t\t
|
|
205
|
+
\ box-shadow|caption-side|clear|clip|color|content|counter-increment|\n\t\t\t\t
|
|
206
|
+
\ counter-reset| cue-after|cue-before|cue|cursor|decoration|direction|display|\n\t\t\t\t
|
|
207
|
+
\ elevation|empty-cells|family|float|font-family|font-size-adjust|font-size|\n\t\t\t\t
|
|
208
|
+
\ font-stretch|font-style|font-variant|font-weight|font|height|image|indent|\n\t\t\t\t
|
|
209
|
+
\ left|letter-spacing|line-height|list-style-image|list-style-position|\n\t\t\t\t
|
|
210
|
+
\ list-style-type|list-style|margin-bottom|margin-left|margin-right|margin-top|\n\t\t\t\t
|
|
211
|
+
\ marker-offset|margin|marks|max-height|max-width|min-height|min-width|\n\t\t\t\t
|
|
212
|
+
\ -moz-border-radius|-moz-box-shadow|opacity|orphans|outline-color|\n\t\t\t\t
|
|
213
|
+
\ outline-style|outline-width|outline|overflow(-[xy])?|padding-bottom|\n\t\t\t\t
|
|
214
|
+
\ padding-left|padding-right|padding-top|padding|page-break-after|\n\t\t\t\t
|
|
215
|
+
\ page-break-before|page-break-inside|page|pause-after|pause-before|pause|\n\t\t\t\t
|
|
216
|
+
\ pitch-range|pitch|play-during|position|quotes|repeat|richness|right|shadow|\n\t\t\t\t
|
|
217
|
+
\ size|speak-header|speak-numeral|speak-punctuation|speech-rate|speak|src|\n\t\t\t\t
|
|
218
|
+
\ stress|style|table-layout|text|text-align|text-decoration|text-indent|\n\t\t\t\t
|
|
219
|
+
\ text-shadow|text-transform|top|transform|unicode-bidi|vertical-align|\n\t\t\t\t
|
|
220
|
+
\ visibility|voice-family|volume|weight|white-space|widows|width|word-spacing|\n\t\t\t\t
|
|
221
|
+
\ z-index)\\b"
|
|
222
|
+
name: support.type.property-name.css.sass
|
|
223
|
+
- include: ! '#property-value'
|
|
224
|
+
- begin: ! "(?x)^[\\s\\t]+\n\t\t\t (align|azimuth|background-attachment|background-color|background-image|\n\t\t\t
|
|
225
|
+
\ background-position|background-repeat|background|border-bottom-color|\n\t\t\t
|
|
226
|
+
\ border-bottom-style|border-bottom-width|border-bottom|border-collapse|border-color|\n\t\t\t
|
|
227
|
+
\ border-left-color|border-left-style|border-left-width|border-left|border-radius|\n\t\t\t
|
|
228
|
+
\ border-right-color|border-right-style|border-right-width|border-right|border-spacing|\n\t\t\t
|
|
229
|
+
\ border-style|border-top-color|border-top-style|border-top-width|border-top|\n\t\t\t
|
|
230
|
+
\ border-width|border|bottom|box-shadow|caption-side|clear|clip|color|content|\n\t\t\t
|
|
231
|
+
\ counter-increment|counter-reset|cue-after|cue-before|cue|cursor|decoration|direction|\n\t\t\t
|
|
232
|
+
\ display|elevation|empty-cells|family|float|font-family|font-size-adjust|font-size|\n\t\t\t
|
|
233
|
+
\ font-stretch|font-style|font-variant|font-weight|font|height|image|indent|left|\n\t\t\t
|
|
234
|
+
\ letter-spacing|line-height|list-style-image|list-style-position|list-style-type|\n\t\t\t
|
|
235
|
+
\ list-style|margin-bottom|margin-left|margin-right|margin-top|marker-offset|margin|\n\t\t\t
|
|
236
|
+
\ marks|max-height|max-width|min-height|min-width|-moz-border-radius|-moz-box-shadow|\n\t\t\t
|
|
237
|
+
\ opacity|orphans|outline-color|outline-style|outline-width|outline|overflow(-[xy])?|\n\t\t\t
|
|
238
|
+
\ padding-bottom|padding-left|padding-right|padding-top|padding|page-break-after|\n\t\t\t
|
|
239
|
+
\ page-break-before|page-break-inside|page|pause-after|pause-before|pause|pitch-range|\n\t\t\t
|
|
240
|
+
\ pitch|play-during|position|quotes|repeat|richness|right|shadow|size|speak-header|\n\t\t\t
|
|
241
|
+
\ speak-numeral|speak-punctuation|speech-rate|speak|src|stress|style|table-layout|text|\n\t\t\t
|
|
242
|
+
\ text-align|text-decoration|text-indent|text-shadow|text-transform|top|transform|\n\t\t\t
|
|
243
|
+
\ unicode-bidi|vertical-align|visibility|voice-family|volume|-webkit-border-radius|\n\t\t\t
|
|
244
|
+
\ -webkit-box-shadow|weight|white-space|widows|width|word-spacing|z-index\n\t\t\t
|
|
245
|
+
\ )\\b(:|\\s?=)"
|
|
246
|
+
beginCaptures:
|
|
247
|
+
'1':
|
|
248
|
+
name: support.type.property-name.css.sass
|
|
249
|
+
'2':
|
|
250
|
+
name: punctuation.definition.entity.css.sass
|
|
251
|
+
end: (;)?$
|
|
252
|
+
endCaptures:
|
|
253
|
+
'1':
|
|
254
|
+
name: invalid.illegal.punctuation.sass
|
|
255
|
+
name: meta.property-name.sass
|
|
256
|
+
patterns:
|
|
257
|
+
- include: ! '#property-value'
|
|
258
|
+
repository:
|
|
259
|
+
comment-block:
|
|
260
|
+
begin: ^(\s*)(\/\/|\/\*)
|
|
261
|
+
captures:
|
|
262
|
+
'0':
|
|
263
|
+
name: punctuation.definition.comment.sass
|
|
264
|
+
end: ^(?!\1\s)
|
|
265
|
+
name: comment.sass
|
|
266
|
+
property-value:
|
|
267
|
+
begin: (:)?\s?+
|
|
268
|
+
beginCaptures:
|
|
269
|
+
'1':
|
|
270
|
+
name: invalid.illegal.punctuation.sass
|
|
271
|
+
end: (;)?$
|
|
272
|
+
endCaptures:
|
|
273
|
+
'1':
|
|
274
|
+
name: invalid.illegal.punctuation.sass
|
|
275
|
+
name: meta.property-value.sass
|
|
276
|
+
patterns:
|
|
277
|
+
- match: ([-=+*/])
|
|
278
|
+
name: punctuation.definition.entity.css
|
|
279
|
+
- captures:
|
|
280
|
+
'1':
|
|
281
|
+
name: punctuation.definition.entity.css
|
|
282
|
+
'2':
|
|
283
|
+
name: variable.other.sass
|
|
284
|
+
match: (\!|\$)([a-zA-Z0-9_-]+)
|
|
285
|
+
name: meta.variable-usage.sass
|
|
286
|
+
- match: ! "(?x)\\b(absolute|all-scroll|always|auto|baseline|below|bidi-override|block|bold|\n\t\t\t\t\t
|
|
287
|
+
\ bolder|both|bottom|break-all|break-word|capitalize|center|char|circle|\n\t\t\t\t\t
|
|
288
|
+
\ col-resize|collapse|crosshair|dashed|decimal|default|disabled|disc|\n\t\t\t\t\t
|
|
289
|
+
\ distribute-all-lines|distribute-letter|distribute-space|distribute|dotted|\n\t\t\t\t\t
|
|
290
|
+
\ double|e-resize|ellipsis|fixed|groove|hand|help|hidden|horizontal|\n\t\t\t\t\t
|
|
291
|
+
\ ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space|\n\t\t\t\t\t
|
|
292
|
+
\ inactive|inherit|inline-block|inline|inset|inside|inter-ideograph|\n\t\t\t\t\t
|
|
293
|
+
\ inter-word|italic|justify|keep-all|left|lighter|line-edge|line-through|\n\t\t\t\t\t
|
|
294
|
+
\ line|list-item|loose|lower-alpha|lower-roman|lowercase|lr-tb|ltr|medium|\n\t\t\t\t\t
|
|
295
|
+
\ middle|move|n-resize|ne-resize|newspaper|no-drop|no-repeat|nw-resize|none|\n\t\t\t\t\t
|
|
296
|
+
\ normal|not-allowed|nowrap|oblique|outset|outside|overline|pointer|progress|\n\t\t\t\t\t
|
|
297
|
+
\ relative|repeat-x|repeat-y|repeat|right|ridge|row-resize|rtl|s-resize|\n\t\t\t\t\t
|
|
298
|
+
\ scroll|se-resize|separate|small-caps|solid|square|static|strict|super|\n\t\t\t\t\t
|
|
299
|
+
\ sw-resize|table-footer-group|table-header-group|tb-rl|text-bottom|text-top|\n\t\t\t\t\t
|
|
300
|
+
\ text|thick|thin|top|transparent|underline|upper-alpha|upper-roman|uppercase|\n\t\t\t\t\t
|
|
301
|
+
\ vertical-ideographic|vertical-text|visible|w-resize|wait|whitespace\n\t\t\t\t\t
|
|
302
|
+
\ )\\b"
|
|
303
|
+
name: support.constant.property-value.css.sass
|
|
304
|
+
- match: ! "(?x)(\\b(?i:arial|century|comic|courier|garamond|georgia|helvetica|impact|\n\t\t\t\t\t
|
|
305
|
+
\ lucida(?: sans)?|symbol|system|tahoma|times(?: new roman)?|trebuchet|utopia|verdana|\n\t\t\t\t\t
|
|
306
|
+
\ webdings|sans-serif|serif|mono|monospace)\\b)"
|
|
307
|
+
name: support.constant.font-name.css.sass
|
|
308
|
+
- match: (\b((?:x{1,2}-)?small|smaller|medium|(?:x{1,2}-)?large|larger)\b)
|
|
309
|
+
name: support.constant.font-size.css.sass
|
|
310
|
+
- comment: http://www.w3schools.com/css/css_colors.asp
|
|
311
|
+
match: ! "(?x)\\b(aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|purple|\n\t\t\t\t\t
|
|
312
|
+
\ red|silver|teal|white|yellow)\\b"
|
|
313
|
+
name: support.constant.color.w3c-standard-color-name.css.sass
|
|
314
|
+
- comment: ! 'These colours are mostly recognised but will not validate. ref:
|
|
315
|
+
http://www.w3schools.com/css/css_colornames.asp'
|
|
316
|
+
match: ! "(?x)\\b(seagreen|hotpink|lawngreen|darkgreen|violet|darkred|crimson|green|\n\t\t\t\t\t
|
|
317
|
+
\ sandybrown|navy|magenta|darkslategray|steelblue|silver|darkgrey|mistyrose|gray|\n\t\t\t\t\t
|
|
318
|
+
\ aliceblue|blueviolet|lightpink|saddlebrown|chocolate|limegreen|lightslategray|\n\t\t\t\t\t
|
|
319
|
+
\ yellowgreen|pink|lightskyblue|indigo|lightblue|floralwhite|navajowhite|\n\t\t\t\t\t
|
|
320
|
+
\ mediumvioletred|honeydew|aquamarine|blue|olivedrab|palegreen|slategray|lavenderblush|\n\t\t\t\t\t
|
|
321
|
+
\ wheat|moccasin|mediumturquoise|mediumspringgreen|lightcoral|mintcream|tomato|\n\t\t\t\t\t
|
|
322
|
+
\ lightgrey|black|darkmagenta|dimgray|darkturquoise|midnightblue|plum|indianred|coral|\n\t\t\t\t\t
|
|
323
|
+
\ lightcyan|mediumslateblue|darkcyan|darkslateblue|darkkhaki|ivory|azure|khaki|\n\t\t\t\t\t
|
|
324
|
+
\ powderblue|darkgoldenrod|orangered|burlywood|turquoise|royalblue|maroon|cornsilk|\n\t\t\t\t\t
|
|
325
|
+
\ antiquewhite|yellow|teal|orange|grey|darkslategrey|slateblue|seashell|darkorchid|\n\t\t\t\t\t
|
|
326
|
+
\ snow|lightslategrey|cyan|greenyellow|palevioletred|goldenrod|deepskyblue|lightyellow|\n\t\t\t\t\t
|
|
327
|
+
\ lightseagreen|sienna|lemonchiffon|darkviolet|paleturquoise|slategrey|skyblue|purple|\n\t\t\t\t\t
|
|
328
|
+
\ mediumpurple|cadetblue|fuchsia|chartreuse|darksalmon|lightgoldenrodyellow|white|\n\t\t\t\t\t
|
|
329
|
+
\ springgreen|olive|forestgreen|peachpuff|peru|dimgrey|mediumseagreen|thistle|firebrick|\n\t\t\t\t\t
|
|
330
|
+
\ darkgray|mediumaquamarine|darkolivegreen|mediumblue|palegoldenrod|blanchedalmond|\n\t\t\t\t\t
|
|
331
|
+
\ ghostwhite|gold|gainsboro|darkseagreen|cornflowerblue|lime|lavender|beige|orchid|\n\t\t\t\t\t
|
|
332
|
+
\ mediumorchid|whitesmoke|bisque|lightgray|tan|salmon|rosybrown|red|dodgerblue|brown|\n\t\t\t\t\t
|
|
333
|
+
\ aqua|oldlace|deeppink|papayawhip|lightsalmon|lightsteelblue|darkorange|darkblue|linen|\n\t\t\t\t\t
|
|
334
|
+
\ lightgreen)\\b"
|
|
335
|
+
name: invalid.deprecated.color.w3c-non-standard-color-name.css.sass
|
|
336
|
+
- match: (-|\+)?\s*[0-9]+(\.[0-9]+)?
|
|
337
|
+
name: constant.numeric.css
|
|
338
|
+
- match: (?<=[\d])(px|pt|cm|mm|in|em|ex|pc)\b|%
|
|
339
|
+
name: keyword.other.unit.css
|
|
340
|
+
- captures:
|
|
341
|
+
'1':
|
|
342
|
+
name: punctuation.definition.constant.css
|
|
343
|
+
match: (#)([0-9a-fA-F]{3}|[0-9a-fA-F]{6})\b
|
|
344
|
+
name: constant.other.color.rgb-value.css
|
|
345
|
+
- include: ! '#string-double'
|
|
346
|
+
- include: ! '#string-single'
|
|
347
|
+
- begin: (rgb|url|attr|counter|counters|local|format)\s*(\()
|
|
348
|
+
beginCaptures:
|
|
349
|
+
'1':
|
|
350
|
+
name: support.function.misc.sass
|
|
351
|
+
'2':
|
|
352
|
+
name: punctuation.section.function.sass
|
|
353
|
+
end: (\))
|
|
354
|
+
endCaptures:
|
|
355
|
+
'1':
|
|
356
|
+
name: punctuation.section.function.sass
|
|
357
|
+
patterns:
|
|
358
|
+
- include: ! '#string-single'
|
|
359
|
+
- include: ! '#string-double'
|
|
360
|
+
- match: (\b0*((1?[0-9]{1,2})|(2([0-4][0-9]|5[0-5])))\s*,\s*)(0*((1?[0-9]{1,2})|(2([0-4][0-9]|5[0-5])))\s*,\s*)(0*((1?[0-9]{1,2})|(2([0-4][0-9]|5[0-5])))\b)
|
|
361
|
+
name: constant.other.color.rgb-value.sass
|
|
362
|
+
- match: \b([0-9]{1,2}|100)\s*%,\s*([0-9]{1,2}|100)\s*%,\s*([0-9]{1,2}|100)\s*%
|
|
363
|
+
name: constant.other.color.rgb-percentage.sass
|
|
364
|
+
- match: ! '[^''") \t]+'
|
|
365
|
+
name: variable.parameter.misc.sass
|
|
366
|
+
- match: \!\s*important
|
|
367
|
+
name: keyword.other.important.sass
|
|
368
|
+
string-double:
|
|
369
|
+
begin: ! '"'
|
|
370
|
+
beginCaptures:
|
|
371
|
+
'0':
|
|
372
|
+
name: punctuation.definition.string.begin.sass
|
|
373
|
+
end: ! '"'
|
|
374
|
+
endCaptures:
|
|
375
|
+
'0':
|
|
376
|
+
name: punctuation.definition.string.end.sass
|
|
377
|
+
name: string.quoted.double.sass
|
|
378
|
+
patterns:
|
|
379
|
+
- match: \\.
|
|
380
|
+
name: constant.character.escape.sass
|
|
381
|
+
string-single:
|
|
382
|
+
begin: ! ''''
|
|
383
|
+
beginCaptures:
|
|
384
|
+
'0':
|
|
385
|
+
name: punctuation.definition.string.begin.sass
|
|
386
|
+
end: ! ''''
|
|
387
|
+
endCaptures:
|
|
388
|
+
'0':
|
|
389
|
+
name: punctuation.definition.string.end.sass
|
|
390
|
+
name: string.quoted.single.sass
|
|
391
|
+
patterns:
|
|
392
|
+
- match: \\.
|
|
393
|
+
name: constant.character.escape.sass
|
|
394
|
+
scopeName: source.sass
|
|
395
|
+
uuid: F73505F1-0CD8-4ED1-93AA-B88050B3D8D4
|
data/syntax/s5.syntax
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: S5 Slide Show
|
|
3
|
+
fileTypes:
|
|
4
|
+
- s5
|
|
5
|
+
scopeName: source.s5
|
|
6
|
+
uuid: 84A2047B-4453-418D-B009-A3D3C60F3D1E
|
|
7
|
+
foldingStartMarker: |-
|
|
8
|
+
(?x)
|
|
9
|
+
(<(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)\b.*?>
|
|
10
|
+
|<!--(?!.*-->)
|
|
11
|
+
|\{\s*($|\?>\s*$|//|/\*(.*\*/\s*$|(?!.*?\*/)))
|
|
12
|
+
)
|
|
13
|
+
patterns:
|
|
14
|
+
- name: meta.header.s5
|
|
15
|
+
captures:
|
|
16
|
+
"1":
|
|
17
|
+
name: keyword.other.s5
|
|
18
|
+
"2":
|
|
19
|
+
name: punctuation.separator.key-value.s5
|
|
20
|
+
"3":
|
|
21
|
+
name: string.unquoted.s5
|
|
22
|
+
match: ^([A-Za-z0-9]+)(:)\s*(.*)$\n?
|
|
23
|
+
- begin: ^(?![A-Za-z0-9]+:)
|
|
24
|
+
end: ^(?=not)possible$
|
|
25
|
+
patterns:
|
|
26
|
+
- begin: (^_{10}$)
|
|
27
|
+
contentName: text.html.markdown.handout.s5
|
|
28
|
+
beginCaptures:
|
|
29
|
+
"1":
|
|
30
|
+
name: meta.separator.handout.s5
|
|
31
|
+
end: "(?=^(?:(?:\xE2\x9C\x82-{6})+|^#{10})$)"
|
|
32
|
+
patterns:
|
|
33
|
+
- include: text.html.markdown
|
|
34
|
+
comment: "\n\
|
|
35
|
+
\t\t\t\t\t\tname = 'meta.separator.handout.s5';\n\
|
|
36
|
+
\t\t\t\t\t\tmatch = '(^_{10}$)';\n\
|
|
37
|
+
\t\t\t\t\t"
|
|
38
|
+
- begin: (^#{10}$)
|
|
39
|
+
contentName: text.html.markdown.notes.s5
|
|
40
|
+
beginCaptures:
|
|
41
|
+
"1":
|
|
42
|
+
name: meta.separator.notes.s5
|
|
43
|
+
end: "(?=^(?:(?:\xE2\x9C\x82-{6})+|_{10})$)"
|
|
44
|
+
patterns:
|
|
45
|
+
- include: text.html.markdown
|
|
46
|
+
comment: "\n\
|
|
47
|
+
\t\t\t\t\t\tname = 'meta.separator.notes.s5';\n\
|
|
48
|
+
\t\t\t\t\t\tmatch = '(^#{10}$)';\n\
|
|
49
|
+
\t\t\t\t\t"
|
|
50
|
+
- begin: "^((\xE2\x9C\x82-{6})+$\\n)"
|
|
51
|
+
contentName: text.html.markdown.slide.s5
|
|
52
|
+
beginCaptures:
|
|
53
|
+
"1":
|
|
54
|
+
name: meta.separator.slide.s5
|
|
55
|
+
end: "(?=^(?:(?:\xE2\x9C\x82-{6})+|_{10}|#{10})$)"
|
|
56
|
+
patterns:
|
|
57
|
+
- include: text.html.markdown
|
|
58
|
+
comment: "\n\
|
|
59
|
+
\t\t\t\t\t\tname = 'meta.separator.slide.s5';\n\
|
|
60
|
+
\t\t\t\t\t\tmatch = '^((\xE2\x9C\x82-{6})+$\\n)';\n\
|
|
61
|
+
\t\t\t\t\t"
|
|
62
|
+
- include: text.html.markdown
|
|
63
|
+
foldingStopMarker: |-
|
|
64
|
+
(?x)
|
|
65
|
+
(</(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)>
|
|
66
|
+
|^\s*-->
|
|
67
|
+
|(^|\s)\}
|
|
68
|
+
)
|
|
69
|
+
keyEquivalent: ^~S
|