bjeanes-ultraviolet 0.10.3
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +29 -0
- data/Manifest.txt +233 -0
- data/README.txt +52 -0
- data/Rakefile +51 -0
- data/bin/theme2latexrender +122 -0
- data/bin/theme2xhtmlrender +156 -0
- data/bin/uv +140 -0
- data/lib/uv.rb +100 -0
- data/lib/uv/render_processor.rb +131 -0
- data/lib/uv/utility.rb +67 -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/files/css/active4d.css +114 -0
- data/render/xhtml/files/css/all_hallows_eve.css +72 -0
- data/render/xhtml/files/css/amy.css +147 -0
- data/render/xhtml/files/css/blackboard.css +88 -0
- data/render/xhtml/files/css/brilliance_black.css +605 -0
- data/render/xhtml/files/css/brilliance_dull.css +599 -0
- data/render/xhtml/files/css/cobalt.css +149 -0
- data/render/xhtml/files/css/dawn.css +121 -0
- data/render/xhtml/files/css/eiffel.css +121 -0
- data/render/xhtml/files/css/espresso_libre.css +109 -0
- data/render/xhtml/files/css/idle.css +62 -0
- data/render/xhtml/files/css/iplastic.css +80 -0
- data/render/xhtml/files/css/lazy.css +73 -0
- data/render/xhtml/files/css/mac_classic.css +123 -0
- data/render/xhtml/files/css/magicwb_amiga.css +104 -0
- data/render/xhtml/files/css/pastels_on_dark.css +188 -0
- data/render/xhtml/files/css/slush_poppies.css +85 -0
- data/render/xhtml/files/css/spacecadet.css +51 -0
- data/render/xhtml/files/css/sunburst.css +180 -0
- data/render/xhtml/files/css/twilight.css +137 -0
- data/render/xhtml/files/css/zenburnesque.css +91 -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/slush_poppies.render +131 -0
- data/render/xhtml/spacecadet.render +89 -0
- data/render/xhtml/sunburst.render +194 -0
- data/render/xhtml/twilight.render +161 -0
- data/render/xhtml/zenburnesque.render +134 -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/c++.syntax +109 -0
- data/syntax/c.syntax +326 -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/csv.syntax +68 -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 +88 -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 +40 -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/jquery_javascript.syntax +114 -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/mail.syntax +118 -0
- data/syntax/makefile.syntax +36 -0
- data/syntax/man.syntax +17 -0
- data/syntax/markdown.syntax +543 -0
- data/syntax/mediawiki.syntax +567 -0
- data/syntax/mel.syntax +92 -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/php.syntax +1253 -0
- data/syntax/plain_text.syntax +32 -0
- data/syntax/pmwiki.syntax +113 -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/regular_expressions_oniguruma.syntax +107 -0
- data/syntax/regular_expressions_python.syntax +109 -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/ruby.syntax +1035 -0
- data/syntax/ruby_experimental.syntax +145 -0
- data/syntax/ruby_on_rails.syntax +88 -0
- data/syntax/s5.syntax +69 -0
- data/syntax/scheme.syntax +347 -0
- data/syntax/scilab.syntax +41 -0
- data/syntax/setext.syntax +147 -0
- data/syntax/shell-unix-generic.syntax +384 -0
- data/syntax/slate.syntax +149 -0
- data/syntax/smarty.syntax +63 -0
- data/syntax/sql.syntax +237 -0
- data/syntax/sql_rails.syntax +18 -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 +0 -0
- metadata +309 -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
|
data/syntax/build.syntax
ADDED
@@ -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: />|</[^?>]+|-->
|