code_rippa 0.0.7 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile.lock +36 -0
- data/LICENSE +2 -2
- data/README.md +18 -1
- data/bin/code_rippa +15 -16
- data/code_rippa.gemspec +12 -10
- data/lib/code_rippa.rb +69 -51
- data/lib/code_rippa/syntax/actionscript.syntax +52 -52
- data/lib/code_rippa/syntax/active4d.syntax +226 -180
- data/lib/code_rippa/syntax/active4d_html.syntax +163 -173
- data/lib/code_rippa/syntax/active4d_ini.syntax +34 -27
- data/lib/code_rippa/syntax/active4d_library.syntax +8 -15
- data/lib/code_rippa/syntax/ada.syntax +19 -18
- data/lib/code_rippa/syntax/antlr.syntax +85 -85
- data/lib/code_rippa/syntax/apache.syntax +103 -109
- data/lib/code_rippa/syntax/applescript.syntax +244 -229
- data/lib/code_rippa/syntax/asp.syntax +41 -36
- data/lib/code_rippa/syntax/asp_vb.net.syntax +77 -72
- data/lib/code_rippa/syntax/bibtex.syntax +88 -90
- data/lib/code_rippa/syntax/blog_html.syntax +17 -29
- data/lib/code_rippa/syntax/blog_markdown.syntax +17 -27
- data/lib/code_rippa/syntax/blog_text.syntax +15 -15
- data/lib/code_rippa/syntax/blog_textile.syntax +15 -15
- data/lib/code_rippa/syntax/build.syntax +27 -27
- data/lib/code_rippa/syntax/bulletin_board.syntax +159 -172
- data/lib/code_rippa/syntax/c.syntax +31 -34
- data/lib/code_rippa/syntax/cake.syntax +27 -27
- data/lib/code_rippa/syntax/camlp4.syntax +23 -23
- data/lib/code_rippa/syntax/cm.syntax +19 -18
- data/lib/code_rippa/syntax/coffeescript.syntax +134 -181
- data/lib/code_rippa/syntax/coldfusion.syntax +51 -60
- data/lib/code_rippa/syntax/context_free.syntax +106 -106
- data/lib/code_rippa/syntax/cs.syntax +31 -34
- data/lib/code_rippa/syntax/css.syntax +112 -112
- data/lib/code_rippa/syntax/css_experimental.syntax +1006 -1004
- data/lib/code_rippa/syntax/csv.syntax +40 -44
- data/lib/code_rippa/syntax/d.syntax +80 -84
- data/lib/code_rippa/syntax/diff.syntax +46 -45
- data/lib/code_rippa/syntax/dokuwiki.syntax +118 -119
- data/lib/code_rippa/syntax/dot.syntax +26 -26
- data/lib/code_rippa/syntax/doxygen.syntax +26 -26
- data/lib/code_rippa/syntax/dylan.syntax +35 -35
- data/lib/code_rippa/syntax/eiffel.syntax +39 -42
- data/lib/code_rippa/syntax/erlang.syntax +514 -511
- data/lib/code_rippa/syntax/f-script.syntax +44 -44
- data/lib/code_rippa/syntax/fortran.syntax +80 -76
- data/lib/code_rippa/syntax/fxscript.syntax +78 -77
- data/lib/code_rippa/syntax/greasemonkey.syntax +20 -20
- data/lib/code_rippa/syntax/gri.syntax +47 -47
- data/lib/code_rippa/syntax/groovy.syntax +105 -114
- data/lib/code_rippa/syntax/gtd.syntax +10 -10
- data/lib/code_rippa/syntax/gtdalt.syntax +83 -83
- data/lib/code_rippa/syntax/haml.syntax +50 -50
- data/lib/code_rippa/syntax/haskell.syntax +47 -47
- data/lib/code_rippa/syntax/html-asp.syntax +15 -15
- data/lib/code_rippa/syntax/html_django.syntax +15 -14
- data/lib/code_rippa/syntax/html_for_asp.net.syntax +232 -245
- data/lib/code_rippa/syntax/html_mason.syntax +75 -74
- data/lib/code_rippa/syntax/html_rails.syntax +17 -27
- data/lib/code_rippa/syntax/html_tcl.syntax +13 -13
- data/lib/code_rippa/syntax/icalendar.syntax +15 -15
- data/lib/code_rippa/syntax/inform.syntax +26 -26
- data/lib/code_rippa/syntax/ini.syntax +30 -30
- data/lib/code_rippa/syntax/installer_distribution_script.syntax +49 -49
- data/lib/code_rippa/syntax/io.syntax +49 -46
- data/lib/code_rippa/syntax/java.syntax +117 -126
- data/lib/code_rippa/syntax/javaproperties.syntax +13 -12
- data/lib/code_rippa/syntax/javascript.syntax +141 -141
- data/lib/code_rippa/syntax/javascript_+_prototype.syntax +42 -41
- data/lib/code_rippa/syntax/javascript_+_prototype_bracketed.syntax +92 -91
- data/lib/code_rippa/syntax/jquery_javascript.syntax +64 -64
- data/lib/code_rippa/syntax/json.syntax +39 -39
- data/lib/code_rippa/syntax/languagedefinition.syntax +373 -453
- data/lib/code_rippa/syntax/lexflex.syntax +136 -136
- data/lib/code_rippa/syntax/lighttpd.syntax +31 -31
- data/lib/code_rippa/syntax/lilypond.syntax +246 -337
- data/lib/code_rippa/syntax/lisp.syntax +32 -32
- data/lib/code_rippa/syntax/literate_haskell.syntax +12 -12
- data/lib/code_rippa/syntax/logo.syntax +13 -14
- data/lib/code_rippa/syntax/logtalk.syntax +81 -81
- data/lib/code_rippa/syntax/lua.syntax +50 -48
- data/lib/code_rippa/syntax/m.syntax +78 -78
- data/lib/code_rippa/syntax/macports_portfile.syntax +98 -97
- data/lib/code_rippa/syntax/makefile.syntax +19 -19
- data/lib/code_rippa/syntax/man.syntax +9 -9
- data/lib/code_rippa/syntax/mediawiki.syntax +311 -401
- data/lib/code_rippa/syntax/mips.syntax +34 -34
- data/lib/code_rippa/syntax/mod_perl.syntax +25 -31
- data/lib/code_rippa/syntax/modula-3.syntax +24 -24
- data/lib/code_rippa/syntax/moinmoin.syntax +102 -102
- data/lib/code_rippa/syntax/mootools.syntax +283 -300
- data/lib/code_rippa/syntax/movable_type.syntax +91 -90
- data/lib/code_rippa/syntax/multimarkdown.syntax +19 -30
- data/lib/code_rippa/syntax/objective-c++.syntax +6 -10
- data/lib/code_rippa/syntax/objective-c.syntax +134 -138
- data/lib/code_rippa/syntax/ocaml.syntax +455 -453
- data/lib/code_rippa/syntax/ocamllex.syntax +94 -93
- data/lib/code_rippa/syntax/ocamlyacc.syntax +98 -98
- data/lib/code_rippa/syntax/opengl.syntax +6 -6
- data/lib/code_rippa/syntax/pascal.syntax +43 -42
- data/lib/code_rippa/syntax/perl.syntax +612 -615
- data/lib/code_rippa/syntax/plain_text.syntax +17 -20
- data/lib/code_rippa/syntax/postscript.syntax +71 -69
- data/lib/code_rippa/syntax/processing.syntax +60 -60
- data/lib/code_rippa/syntax/prolog.syntax +17 -20
- data/lib/code_rippa/syntax/property_list.syntax +338 -359
- data/lib/code_rippa/syntax/python.syntax +487 -509
- data/lib/code_rippa/syntax/python_django.syntax +9 -10
- data/lib/code_rippa/syntax/qmake_project.syntax +67 -67
- data/lib/code_rippa/syntax/qt_c++.syntax +12 -15
- data/lib/code_rippa/syntax/quake3_config.syntax +18 -17
- data/lib/code_rippa/syntax/r.syntax +42 -42
- data/lib/code_rippa/syntax/r_console.syntax +7 -8
- data/lib/code_rippa/syntax/ragel.syntax +109 -115
- data/lib/code_rippa/syntax/rd_r_documentation.syntax +53 -53
- data/lib/code_rippa/syntax/regexp.syntax +26 -26
- data/lib/code_rippa/syntax/release_notes.syntax +46 -26
- data/lib/code_rippa/syntax/remind.syntax +146 -146
- data/lib/code_rippa/syntax/restructuredtext.syntax +132 -131
- data/lib/code_rippa/syntax/rez.syntax +46 -45
- data/lib/code_rippa/syntax/ruby.syntax +533 -601
- data/lib/code_rippa/syntax/ruby_experimental.syntax +82 -100
- data/lib/code_rippa/syntax/ruby_on_rails.syntax +56 -68
- data/lib/code_rippa/syntax/s5.syntax +35 -51
- data/lib/code_rippa/syntax/scheme.syntax +162 -260
- data/lib/code_rippa/syntax/scilab.syntax +18 -18
- data/lib/code_rippa/syntax/setext.syntax +82 -82
- data/lib/code_rippa/syntax/shell-unix-generic.syntax +227 -226
- data/lib/code_rippa/syntax/slate.syntax +91 -91
- data/lib/code_rippa/syntax/sql.syntax +137 -139
- data/lib/code_rippa/syntax/sql_rails.syntax +8 -8
- data/lib/code_rippa/syntax/ssh-config.syntax +17 -17
- data/lib/code_rippa/syntax/standard_ml.syntax +67 -69
- data/lib/code_rippa/syntax/strings_file.syntax +20 -23
- data/lib/code_rippa/syntax/subversion_commit_message.syntax +20 -20
- data/lib/code_rippa/syntax/sweave.syntax +45 -45
- data/lib/code_rippa/syntax/swig.syntax +34 -33
- data/lib/code_rippa/syntax/tcl.syntax +87 -86
- data/lib/code_rippa/syntax/template_toolkit.syntax +67 -65
- data/lib/code_rippa/syntax/textile.syntax +111 -145
- data/lib/code_rippa/syntax/tsv.syntax +31 -33
- data/lib/code_rippa/syntax/twiki.syntax +141 -141
- data/lib/code_rippa/syntax/txt2tags.syntax +39 -38
- data/lib/code_rippa/syntax/vectorscript.syntax +31 -31
- data/lib/code_rippa/syntax/xhtml_1.0.syntax +2297 -2296
- data/lib/code_rippa/syntax/xml.syntax +95 -95
- data/lib/code_rippa/syntax/xml_strict.syntax +49 -50
- data/lib/code_rippa/syntax/xsl.syntax +31 -31
- data/lib/code_rippa/syntax/yaml.syntax +86 -86
- data/lib/code_rippa/syntax/yaml_converter.rb +37 -0
- data/lib/code_rippa/syntax/yui_javascript.syntax +88 -88
- data/lib/code_rippa/version.rb +2 -2
- data/test/fixtures/hello.rb +5 -3
- data/test/test_private_methods.rb +40 -40
- data/test/test_public_methods.rb +9 -18
- metadata +61 -63
@@ -1,70 +1,75 @@
|
|
1
|
-
---
|
1
|
+
---
|
2
2
|
name: ASP
|
3
|
-
fileTypes:
|
3
|
+
fileTypes:
|
4
4
|
- asa
|
5
5
|
scopeName: source.asp
|
6
6
|
uuid: 291022B4-6B1D-11D9-90EB-000D93589AF6
|
7
|
-
patterns:
|
7
|
+
patterns:
|
8
8
|
- name: meta.function.asp
|
9
|
-
captures:
|
10
|
-
|
9
|
+
captures:
|
10
|
+
'1':
|
11
11
|
name: storage.type.function.asp
|
12
|
-
|
12
|
+
'2':
|
13
13
|
name: entity.name.function.asp
|
14
|
-
|
14
|
+
'3':
|
15
15
|
name: punctuation.definition.parameters.asp
|
16
|
-
|
16
|
+
'4':
|
17
17
|
name: variable.parameter.function.asp
|
18
|
-
|
18
|
+
'5':
|
19
19
|
name: punctuation.definition.parameters.asp
|
20
|
-
match:
|
20
|
+
match: "^\\s*((?i:function|sub))\\s*([a-zA-Z_]\\w*)\\s*(\\()([^)]*)(\\)).*\\n?"
|
21
21
|
- name: comment.line.apostrophe.asp
|
22
|
-
captures:
|
23
|
-
|
22
|
+
captures:
|
23
|
+
'1':
|
24
24
|
name: punctuation.definition.comment.asp
|
25
|
-
match: (')
|
25
|
+
match: "(').*$\\n?"
|
26
26
|
- name: keyword.control.asp
|
27
|
-
match: (?i
|
27
|
+
match: "(?i:\\b(If|Then|Else|ElseIf|End If|While|Wend|For|To|Each|Case|Select|End
|
28
|
+
Select|Return|Continue|Do|Until|Loop|Next|With|Exit Do|Exit For|Exit Function|Exit
|
29
|
+
Property|Exit Sub)\\b)"
|
28
30
|
- name: keyword.operator.asp
|
29
|
-
match: (?i
|
31
|
+
match: "(?i:\\b(Mod|And|Not|Or|Xor)\\b)"
|
30
32
|
- name: storage.type.asp
|
31
|
-
match: (?i
|
33
|
+
match: "(?i:\\b(Call|Class|Const|Dim|Redim|Function|Sub|End sub|End Function|Set|Let|Get|New|Randomize|Option
|
34
|
+
Explicit|On Error Resume Next|On Error GoTo)\\b)"
|
32
35
|
- name: storage.modifier.asp
|
33
|
-
match: (?i
|
36
|
+
match: "(?i:\\b(Private|Public|Default)\\b)"
|
34
37
|
- name: constant.language.asp
|
35
|
-
match: (?i
|
38
|
+
match: "(?i:\\b(Empty|False|Nothing|Null|True)\\b)"
|
36
39
|
- name: string.quoted.double.asp
|
37
|
-
endCaptures:
|
38
|
-
|
40
|
+
endCaptures:
|
41
|
+
'0':
|
39
42
|
name: punctuation.definition.string.end.asp
|
40
43
|
begin: "\""
|
41
|
-
beginCaptures:
|
42
|
-
|
44
|
+
beginCaptures:
|
45
|
+
'0':
|
43
46
|
name: punctuation.definition.string.begin.asp
|
44
47
|
end: "\"(?!\")"
|
45
|
-
patterns:
|
48
|
+
patterns:
|
46
49
|
- name: constant.character.escape.apostrophe.asp
|
47
50
|
match: "\"\""
|
48
51
|
- name: variable.other.asp
|
49
|
-
captures:
|
50
|
-
|
52
|
+
captures:
|
53
|
+
'1':
|
51
54
|
name: punctuation.definition.variable.asp
|
52
|
-
match: (
|
55
|
+
match: "(\\$)[a-zA-Z_x7f-xff][a-zA-Z0-9_x7f-xff]*?\\b"
|
53
56
|
- name: support.class.asp
|
54
|
-
match: (?i
|
57
|
+
match: "(?i:\\b(Application|ObjectContext|Request|Response|Server|Session)\\b)"
|
55
58
|
- name: support.class.collection.asp
|
56
|
-
match: (?i
|
59
|
+
match: "(?i:\\b(Contents|StaticObjects|ClientCertificate|Cookies|Form|QueryString|ServerVariables)\\b)"
|
57
60
|
- name: support.constant.asp
|
58
|
-
match: (?i
|
61
|
+
match: "(?i:\\b(TotalBytes|Buffer|CacheControl|Charset|ContentType|Expires|ExpiresAbsolute|IsClientConnected|PICS|Status|ScriptTimeout|CodePage|LCID|SessionID|Timeout)\\b)"
|
59
62
|
- name: support.function.asp
|
60
|
-
match: (?i
|
63
|
+
match: "(?i:\\b(Lock|Unlock|SetAbort|SetComplete|BianryRead|AddHeader|AppendToLog|BinaryWrite|Clear|End|Flush|Redirect|Write|CreateObject|HTMLEncode|MapPath|URLEncode|Abandon)\\b)"
|
61
64
|
- name: support.function.event.asp
|
62
|
-
match: (?i
|
65
|
+
match: "(?i:\\b(Application_OnEnd|Application_OnStart|OnTransactionAbort|OnTransactionCommit|Session_OnEnd|Session_OnStart)\\b)"
|
63
66
|
- name: support.function.vb.asp
|
64
|
-
match: (?i
|
67
|
+
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)"
|
65
68
|
- name: constant.numeric.asp
|
66
|
-
match:
|
69
|
+
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"
|
67
70
|
- name: support.type.vb.asp
|
68
|
-
match: (?i
|
69
|
-
keyEquivalent: ^~A
|
70
|
-
comment:
|
71
|
+
match: "(?i:\\b(vbtrue|fvbalse|vbcr|vbcrlf|vbformfeed|vblf|vbnewline|vbnullchar|vbnullstring|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)"
|
72
|
+
keyEquivalent: "^~A"
|
73
|
+
comment: 'ASP SCRIPTING DICTIONARY – By Rich Barton: Version 1.0 (based on PHP Scripting
|
74
|
+
Dictionary by Justin French, Sune Foldager and Allan Odgaard) Note: .asp is handled
|
75
|
+
by asp/html'
|
@@ -1,129 +1,134 @@
|
|
1
|
-
---
|
1
|
+
---
|
2
2
|
name: ASP vb.NET
|
3
|
-
fileTypes:
|
3
|
+
fileTypes:
|
4
4
|
- vb
|
5
5
|
scopeName: source.asp.vb.net
|
6
|
-
repository:
|
7
|
-
round-brackets:
|
6
|
+
repository:
|
7
|
+
round-brackets:
|
8
8
|
name: meta.round-brackets
|
9
|
-
endCaptures:
|
10
|
-
|
9
|
+
endCaptures:
|
10
|
+
'0':
|
11
11
|
name: punctuation.section.round-brackets.end.asp
|
12
|
-
begin:
|
13
|
-
beginCaptures:
|
14
|
-
|
12
|
+
begin: "\\("
|
13
|
+
beginCaptures:
|
14
|
+
'0':
|
15
15
|
name: punctuation.section.round-brackets.begin.asp
|
16
|
-
end:
|
17
|
-
patterns:
|
16
|
+
end: "\\)"
|
17
|
+
patterns:
|
18
18
|
- include: source.asp.vb.net
|
19
19
|
uuid: 7F9C9343-D48E-4E7D-BFE8-F680714DCD3E
|
20
|
-
foldingStartMarker: (<(?i:(head|table|div|style|script|ul|ol|form|dl))
|
21
|
-
patterns:
|
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
22
|
- name: meta.ending-space
|
23
|
-
match:
|
23
|
+
match: "\\n"
|
24
24
|
- include: "#round-brackets"
|
25
25
|
- name: meta.leading-space
|
26
|
-
begin: ^(
|
27
|
-
end: (?=[
|
28
|
-
patterns:
|
29
|
-
- captures:
|
30
|
-
|
26
|
+
begin: "^(?=\\t)"
|
27
|
+
end: "(?=[^\\t])"
|
28
|
+
patterns:
|
29
|
+
- captures:
|
30
|
+
'1':
|
31
31
|
name: meta.odd-tab.tabs
|
32
|
-
|
32
|
+
'2':
|
33
33
|
name: meta.even-tab.tabs
|
34
|
-
match: (
|
34
|
+
match: "(\\t)(\\t)?"
|
35
35
|
- name: meta.leading-space
|
36
|
-
begin: ^(?= )
|
37
|
-
end: (?=[^ ])
|
38
|
-
patterns:
|
39
|
-
- captures:
|
40
|
-
|
36
|
+
begin: "^(?= )"
|
37
|
+
end: "(?=[^ ])"
|
38
|
+
patterns:
|
39
|
+
- captures:
|
40
|
+
'1':
|
41
41
|
name: meta.odd-tab.spaces
|
42
|
-
|
42
|
+
'2':
|
43
43
|
name: meta.even-tab.spaces
|
44
|
-
match: ( )( )?
|
44
|
+
match: "( )( )?"
|
45
45
|
- name: meta.function.asp
|
46
|
-
captures:
|
47
|
-
|
46
|
+
captures:
|
47
|
+
'1':
|
48
48
|
name: storage.type.function.asp
|
49
|
-
|
49
|
+
'2':
|
50
50
|
name: entity.name.function.asp
|
51
|
-
|
51
|
+
'3':
|
52
52
|
name: punctuation.definition.parameters.asp
|
53
|
-
|
53
|
+
'4':
|
54
54
|
name: variable.parameter.function.asp
|
55
|
-
|
55
|
+
'5':
|
56
56
|
name: punctuation.definition.parameters.asp
|
57
|
-
match:
|
57
|
+
match: "^\\s*((?i:function|sub))\\s*([a-zA-Z_]\\w*)\\s*(\\()([^)]*)(\\)).*\\n?"
|
58
58
|
- name: comment.line.apostrophe.asp
|
59
59
|
begin: "'"
|
60
|
-
beginCaptures:
|
61
|
-
|
60
|
+
beginCaptures:
|
61
|
+
'0':
|
62
62
|
name: punctuation.definition.comment.asp
|
63
|
-
end: (?=(
|
63
|
+
end: "(?=(\\n|%>))"
|
64
64
|
- name: keyword.control.asp
|
65
|
-
match: (?i
|
65
|
+
match: "(?i:\\b(If|Then|Else|ElseIf|Else If|End If|While|Wend|For|To|Each|Case|Select|End
|
66
|
+
Select|Return|Continue|Do|Until|Loop|Next|With|Exit Do|Exit For|Exit Function|Exit
|
67
|
+
Property|Exit Sub|IIf)\\b)"
|
66
68
|
- name: keyword.operator.asp
|
67
|
-
match: (?i
|
69
|
+
match: "(?i:\\b(Mod|And|Not|Or|Xor|as)\\b)"
|
68
70
|
- name: variable.other.dim.asp
|
69
|
-
captures:
|
70
|
-
|
71
|
+
captures:
|
72
|
+
'1':
|
71
73
|
name: storage.type.asp
|
72
|
-
|
74
|
+
'2':
|
73
75
|
name: variable.other.bfeac.asp
|
74
|
-
|
76
|
+
'3':
|
75
77
|
name: meta.separator.comma.asp
|
76
|
-
match: (?i:(dim)
|
78
|
+
match: "(?i:(dim)\\s*(?:(\\b[a-zA-Z_x7f-xff][a-zA-Z0-9_x7f-xff]*?\\b)\\s*(,?)))"
|
77
79
|
- name: storage.type.asp
|
78
|
-
match: (?i
|
80
|
+
match: "(?i:\\s*\\b(Call|Class|Const|Dim|Redim|Function|Sub|Private Sub|Public Sub|End
|
81
|
+
sub|End Function|Set|Let|Get|New|Randomize|Option Explicit|On Error Resume Next|On
|
82
|
+
Error GoTo)\\b\\s*)"
|
79
83
|
- name: storage.modifier.asp
|
80
|
-
match: (?i
|
84
|
+
match: "(?i:\\b(Private|Public|Default)\\b)"
|
81
85
|
- name: constant.language.asp
|
82
|
-
match: (?i
|
86
|
+
match: "(?i:\\s*\\b(Empty|False|Nothing|Null|True)\\b)"
|
83
87
|
- name: string.quoted.double.asp
|
84
|
-
endCaptures:
|
85
|
-
|
88
|
+
endCaptures:
|
89
|
+
'0':
|
86
90
|
name: punctuation.definition.string.end.asp
|
87
91
|
begin: "\""
|
88
|
-
beginCaptures:
|
89
|
-
|
92
|
+
beginCaptures:
|
93
|
+
'0':
|
90
94
|
name: punctuation.definition.string.begin.asp
|
91
95
|
end: "\""
|
92
|
-
patterns:
|
96
|
+
patterns:
|
93
97
|
- name: constant.character.escape.apostrophe.asp
|
94
98
|
match: "\"\""
|
95
99
|
- name: variable.other.asp
|
96
|
-
captures:
|
97
|
-
|
100
|
+
captures:
|
101
|
+
'1':
|
98
102
|
name: punctuation.definition.variable.asp
|
99
|
-
match: (
|
103
|
+
match: "(\\$)[a-zA-Z_x7f-xff][a-zA-Z0-9_x7f-xff]*?\\b\\s*"
|
100
104
|
- name: support.class.asp
|
101
|
-
match: (?i
|
105
|
+
match: "(?i:\\b(Application|ObjectContext|Request|Response|Server|Session)\\b)"
|
102
106
|
- name: support.class.collection.asp
|
103
|
-
match: (?i
|
107
|
+
match: "(?i:\\b(Contents|StaticObjects|ClientCertificate|Cookies|Form|QueryString|ServerVariables)\\b)"
|
104
108
|
- name: support.constant.asp
|
105
|
-
match: (?i
|
109
|
+
match: "(?i:\\b(TotalBytes|Buffer|CacheControl|Charset|ContentType|Expires|ExpiresAbsolute|IsClientConnected|PICS|Status|ScriptTimeout|CodePage|LCID|SessionID|Timeout)\\b)"
|
106
110
|
- name: support.function.asp
|
107
|
-
match: (?i
|
111
|
+
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
112
|
- name: support.function.event.asp
|
109
|
-
match: (?i
|
113
|
+
match: "(?i:\\b(Application_OnEnd|Application_OnStart|OnTransactionAbort|OnTransactionCommit|Session_OnEnd|Session_OnStart)\\b)"
|
110
114
|
- name: support.type.vb.asp
|
111
|
-
match: (?i:(?<=as )(
|
115
|
+
match: "(?i:(?<=as )(\\b[a-zA-Z_x7f-xff][a-zA-Z0-9_x7f-xff]*?\\b))"
|
112
116
|
- name: support.function.vb.asp
|
113
|
-
match: (?i
|
117
|
+
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
118
|
- name: constant.numeric.asp
|
115
|
-
match:
|
119
|
+
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
120
|
- name: support.type.vb.asp
|
117
|
-
match: (?i
|
121
|
+
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
122
|
- name: support.function.asp
|
119
|
-
captures:
|
120
|
-
|
123
|
+
captures:
|
124
|
+
'1':
|
121
125
|
name: entity.name.function.asp
|
122
|
-
match: (?i:(
|
126
|
+
match: "(?i:(\\b[a-zA-Z_x7f-xff][a-zA-Z0-9_x7f-xff]*?\\b)(?=\\(\\)?))"
|
123
127
|
- name: variable.other.asp
|
124
|
-
match: (?i:((?<=(
|
128
|
+
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
129
|
- name: keyword.operator.js
|
126
130
|
match: "!|\\$|%|&|\\*|\\-\\-|\\-|\\+\\+|\\+|~|===|==|=|!=|!==|<=|>=|<<=|>>=|>>>=|<>|<|>|!|&&|\\|\\||\\?\\:|\\*=|/=|%=|\\+=|\\-=|&=|\\^=|\\b(in|instanceof|new|delete|typeof|void)\\b"
|
127
|
-
foldingStopMarker: (</(?i:(head|table|div|style|script|ul|ol|form|dl))
|
128
|
-
keyEquivalent: ^~A
|
129
|
-
comment: Modified from the original ASP bundle. Originally modified by Thomas Aylott
|
131
|
+
foldingStopMarker: "(</(?i:(head|table|div|style|script|ul|ol|form|dl))>?|\\}|^\\s*<?%?\\s*\\s*'?\\s*(?i:(end|Next))\\s*.*$)"
|
132
|
+
keyEquivalent: "^~A"
|
133
|
+
comment: Modified from the original ASP bundle. Originally modified by Thomas Aylott
|
134
|
+
subtleGradient.com
|
@@ -1,151 +1,149 @@
|
|
1
|
-
---
|
1
|
+
---
|
2
2
|
name: BibTeX
|
3
|
-
fileTypes:
|
3
|
+
fileTypes:
|
4
4
|
- bib
|
5
5
|
scopeName: text.bibtex
|
6
|
-
repository:
|
7
|
-
nested_braces:
|
8
|
-
endCaptures:
|
9
|
-
|
6
|
+
repository:
|
7
|
+
nested_braces:
|
8
|
+
endCaptures:
|
9
|
+
'0':
|
10
10
|
name: punctuation.definition.group.end.bibtex
|
11
|
-
begin:
|
12
|
-
beginCaptures:
|
13
|
-
|
11
|
+
begin: "\\{"
|
12
|
+
beginCaptures:
|
13
|
+
'0':
|
14
14
|
name: punctuation.definition.group.begin.bibtex
|
15
|
-
end:
|
16
|
-
patterns:
|
15
|
+
end: "\\}"
|
16
|
+
patterns:
|
17
17
|
- include: "#nested_braces"
|
18
|
-
integer:
|
18
|
+
integer:
|
19
19
|
name: constant.numeric.bibtex
|
20
|
-
match:
|
21
|
-
string_content:
|
22
|
-
patterns:
|
20
|
+
match: "\\d+"
|
21
|
+
string_content:
|
22
|
+
patterns:
|
23
23
|
- name: string.quoted.double.bibtex
|
24
|
-
endCaptures:
|
25
|
-
|
24
|
+
endCaptures:
|
25
|
+
'0':
|
26
26
|
name: punctuation.definition.string.end.bibtex
|
27
27
|
begin: "\""
|
28
|
-
beginCaptures:
|
29
|
-
|
28
|
+
beginCaptures:
|
29
|
+
'0':
|
30
30
|
name: punctuation.definition.string.begin.bibtex
|
31
31
|
end: "\""
|
32
|
-
patterns:
|
32
|
+
patterns:
|
33
33
|
- include: "#nested_braces"
|
34
34
|
- name: string.quoted.other.braces.bibtex
|
35
|
-
endCaptures:
|
36
|
-
|
35
|
+
endCaptures:
|
36
|
+
'0':
|
37
37
|
name: punctuation.definition.string.end.bibtex
|
38
|
-
begin:
|
39
|
-
beginCaptures:
|
40
|
-
|
38
|
+
begin: "\\{"
|
39
|
+
beginCaptures:
|
40
|
+
'0':
|
41
41
|
name: punctuation.definition.string.begin.bibtex
|
42
|
-
end:
|
43
|
-
patterns:
|
42
|
+
end: "\\}"
|
43
|
+
patterns:
|
44
44
|
- name: invalid.illegal.at-sign.bibtex
|
45
45
|
match: "@"
|
46
46
|
- include: "#nested_braces"
|
47
47
|
uuid: 47F30BA1-6B1D-11D9-9A60-000D93589AF6
|
48
|
-
foldingStartMarker:
|
49
|
-
patterns:
|
48
|
+
foldingStartMarker: "\\@[a-zA-Z]+\\s*[{(].+,"
|
49
|
+
patterns:
|
50
50
|
- name: comment.line.at-sign.bibtex
|
51
51
|
begin: "@Comment"
|
52
|
-
beginCaptures:
|
53
|
-
|
52
|
+
beginCaptures:
|
53
|
+
'0':
|
54
54
|
name: punctuation.definition.comment.bibtex
|
55
|
-
end:
|
55
|
+
end: "$\\n?"
|
56
56
|
- name: meta.string-constant.braces.bibtex
|
57
|
-
endCaptures:
|
58
|
-
|
57
|
+
endCaptures:
|
58
|
+
'0':
|
59
59
|
name: punctuation.section.string-constant.end.bibtex
|
60
|
-
begin: ((@)String)
|
61
|
-
beginCaptures:
|
62
|
-
|
60
|
+
begin: "((@)String)\\s*(\\{)\\s*([a-zA-Z]*)"
|
61
|
+
beginCaptures:
|
62
|
+
'1':
|
63
63
|
name: keyword.other.string-constant.bibtex
|
64
|
-
|
64
|
+
'2':
|
65
65
|
name: punctuation.definition.keyword.bibtex
|
66
|
-
|
66
|
+
'3':
|
67
67
|
name: punctuation.section.string-constant.begin.bibtex
|
68
|
-
|
68
|
+
'4':
|
69
69
|
name: variable.other.bibtex
|
70
|
-
end:
|
71
|
-
patterns:
|
70
|
+
end: "\\}"
|
71
|
+
patterns:
|
72
72
|
- include: "#string_content"
|
73
73
|
- name: meta.string-constant.parenthesis.bibtex
|
74
|
-
endCaptures:
|
75
|
-
|
74
|
+
endCaptures:
|
75
|
+
'0':
|
76
76
|
name: punctuation.section.string-constant.end.bibtex
|
77
|
-
begin: ((@)String)
|
78
|
-
beginCaptures:
|
79
|
-
|
77
|
+
begin: "((@)String)\\s*(\\()\\s*([a-zA-Z]*)"
|
78
|
+
beginCaptures:
|
79
|
+
'1':
|
80
80
|
name: keyword.other.string-constant.bibtex
|
81
|
-
|
81
|
+
'2':
|
82
82
|
name: punctuation.definition.keyword.bibtex
|
83
|
-
|
83
|
+
'3':
|
84
84
|
name: punctuation.section.string-constant.begin.bibtex
|
85
|
-
|
85
|
+
'4':
|
86
86
|
name: variable.other.bibtex
|
87
|
-
end:
|
88
|
-
patterns:
|
87
|
+
end: "\\)"
|
88
|
+
patterns:
|
89
89
|
- include: "#string_content"
|
90
90
|
- name: meta.entry.braces.bibtex
|
91
|
-
endCaptures:
|
92
|
-
|
91
|
+
endCaptures:
|
92
|
+
'0':
|
93
93
|
name: punctuation.section.entry.end.bibtex
|
94
|
-
begin: ((@)[a-zA-Z]+)
|
95
|
-
beginCaptures:
|
96
|
-
|
94
|
+
begin: "((@)[a-zA-Z]+)\\s*(\\{)\\s*([^\\s,]*)"
|
95
|
+
beginCaptures:
|
96
|
+
'1':
|
97
97
|
name: keyword.other.entry-type.bibtex
|
98
|
-
|
98
|
+
'2':
|
99
99
|
name: punctuation.definition.keyword.bibtex
|
100
|
-
|
100
|
+
'3':
|
101
101
|
name: punctuation.section.entry.begin.bibtex
|
102
|
-
|
102
|
+
'4':
|
103
103
|
name: entity.name.type.entry-key.bibtex
|
104
|
-
end:
|
105
|
-
patterns:
|
104
|
+
end: "\\}"
|
105
|
+
patterns:
|
106
106
|
- name: meta.key-assignment.bibtex
|
107
|
-
begin: ([a-zA-Z]+)
|
108
|
-
beginCaptures:
|
109
|
-
|
107
|
+
begin: "([a-zA-Z]+)\\s*(\\=)"
|
108
|
+
beginCaptures:
|
109
|
+
'1':
|
110
110
|
name: string.unquoted.key.bibtex
|
111
|
-
|
111
|
+
'2':
|
112
112
|
name: punctuation.separator.key-value.bibtex
|
113
|
-
end: (?=[,}])
|
114
|
-
patterns:
|
113
|
+
end: "(?=[,}])"
|
114
|
+
patterns:
|
115
115
|
- include: "#string_content"
|
116
116
|
- include: "#integer"
|
117
117
|
- name: meta.entry.parenthesis.bibtex
|
118
|
-
endCaptures:
|
119
|
-
|
118
|
+
endCaptures:
|
119
|
+
'0':
|
120
120
|
name: punctuation.section.entry.end.bibtex
|
121
|
-
begin: ((@)[a-zA-Z]+)
|
122
|
-
beginCaptures:
|
123
|
-
|
121
|
+
begin: "((@)[a-zA-Z]+)\\s*(\\()\\s*([^\\s,]*)"
|
122
|
+
beginCaptures:
|
123
|
+
'1':
|
124
124
|
name: keyword.other.entry-type.bibtex
|
125
|
-
|
125
|
+
'2':
|
126
126
|
name: punctuation.definition.keyword.bibtex
|
127
|
-
|
127
|
+
'3':
|
128
128
|
name: punctuation.section.entry.begin.bibtex
|
129
|
-
|
129
|
+
'4':
|
130
130
|
name: entity.name.type.entry-key.bibtex
|
131
|
-
end:
|
132
|
-
patterns:
|
131
|
+
end: "\\)"
|
132
|
+
patterns:
|
133
133
|
- name: meta.key-assignment.bibtex
|
134
|
-
begin: ([a-zA-Z]+)
|
135
|
-
beginCaptures:
|
136
|
-
|
134
|
+
begin: "([a-zA-Z]+)\\s*(\\=)"
|
135
|
+
beginCaptures:
|
136
|
+
'1':
|
137
137
|
name: string.unquoted.key.bibtex
|
138
|
-
|
138
|
+
'2':
|
139
139
|
name: punctuation.separator.key-value.bibtex
|
140
|
-
end: (?=[,)])
|
141
|
-
patterns:
|
140
|
+
end: "(?=[,)])"
|
141
|
+
patterns:
|
142
142
|
- include: "#string_content"
|
143
143
|
- include: "#integer"
|
144
144
|
- name: comment.block.bibtex
|
145
145
|
begin: "[^@\\n]"
|
146
|
-
end: (?=@)
|
147
|
-
foldingStopMarker:
|
148
|
-
comment: "Grammar based on description from http://artis.imag.fr/~Xavier.Decoret/resources/xdkbibtex/bibtex_summary.html#comment\n\
|
149
|
-
\
|
150
|
-
\tTODO: Does not support @preamble\n\
|
151
|
-
\t"
|
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\t\n\tTODO:
|
149
|
+
Does not support @preamble\n\t"
|