ver 2009.10.14
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/CHANGELOG +1404 -0
- data/MANIFEST +187 -0
- data/Rakefile +30 -0
- data/TODO +169 -0
- data/bin/ver +19 -0
- data/config/detect.rb +109 -0
- data/config/keymap/vim.rb +239 -0
- data/config/rc.rb +0 -0
- data/config/scratch +3 -0
- data/config/syntax/ANTLR.json +275 -0
- data/config/syntax/ASP VB.net.json +228 -0
- data/config/syntax/ASP.json +135 -0
- data/config/syntax/ActionScript.json +168 -0
- data/config/syntax/Ada.json +108 -0
- data/config/syntax/Apache.json +342 -0
- data/config/syntax/AppleScript.json +721 -0
- data/config/syntax/Bibtex.json +253 -0
- data/config/syntax/Blog (HTML).json +47 -0
- data/config/syntax/Blog (Markdown).json +50 -0
- data/config/syntax/Blog (Text).json +45 -0
- data/config/syntax/Blog (Textile).json +45 -0
- data/config/syntax/Bulletin Board.json +428 -0
- data/config/syntax/C++.json +323 -0
- data/config/syntax/C.json +694 -0
- data/config/syntax/CSS.json +346 -0
- data/config/syntax/DOT.json +79 -0
- data/config/syntax/Diff.json +136 -0
- data/config/syntax/Dylan.json +104 -0
- data/config/syntax/Eiffel.json +128 -0
- data/config/syntax/Erlang.json +1636 -0
- data/config/syntax/F-Script.json +137 -0
- data/config/syntax/FXScript.json +260 -0
- data/config/syntax/Gri.json +141 -0
- data/config/syntax/HTML (Mason).json +207 -0
- data/config/syntax/HTML (Rails).json +52 -0
- data/config/syntax/HTML (Tcl).json +42 -0
- data/config/syntax/HTML for ASP.net.json +736 -0
- data/config/syntax/HTML-ASP.json +45 -0
- data/config/syntax/HTML.json +614 -0
- data/config/syntax/Haskell.json +407 -0
- data/config/syntax/Inform.json +80 -0
- data/config/syntax/Ini.json +91 -0
- data/config/syntax/Io.json +142 -0
- data/config/syntax/Java.json +745 -0
- data/config/syntax/JavaProperties.json +42 -0
- data/config/syntax/JavaScript.json +446 -0
- data/config/syntax/LaTeX Beamer.json +65 -0
- data/config/syntax/LaTeX Log.json +88 -0
- data/config/syntax/LaTeX.json +962 -0
- data/config/syntax/Lighttpd.json +93 -0
- data/config/syntax/Lisp.json +101 -0
- data/config/syntax/Literate Haskell.json +55 -0
- data/config/syntax/Logtalk.json +289 -0
- data/config/syntax/Lua.json +146 -0
- data/config/syntax/M.json +744 -0
- data/config/syntax/MEL.json +161 -0
- data/config/syntax/MIPS.json +114 -0
- data/config/syntax/Mail.json +224 -0
- data/config/syntax/Makefile.json +66 -0
- data/config/syntax/Markdown.json +644 -0
- data/config/syntax/Modula-3.json +80 -0
- data/config/syntax/Movable Type.json +348 -0
- data/config/syntax/OCaml.json +1391 -0
- data/config/syntax/Objective-C++.json +21 -0
- data/config/syntax/OpenGL.json +24 -0
- data/config/syntax/PHP.json +2184 -0
- data/config/syntax/Pascal.json +128 -0
- data/config/syntax/Perl.json +2091 -0
- data/config/syntax/Plain text.json +49 -0
- data/config/syntax/Processing.json +188 -0
- data/config/syntax/Quake3 Config.json +54 -0
- data/config/syntax/R.json +157 -0
- data/config/syntax/Rez.json +137 -0
- data/config/syntax/Ruby on Rails.json +170 -0
- data/config/syntax/Ruby.json +1753 -0
- data/config/syntax/SQL (Rails).json +31 -0
- data/config/syntax/SQL.json +435 -0
- data/config/syntax/SWIG.json +96 -0
- data/config/syntax/Scheme.json +359 -0
- data/config/syntax/Shell-Unix-Generic.json +1198 -0
- data/config/syntax/Slate.json +265 -0
- data/config/syntax/Smarty.json +110 -0
- data/config/syntax/Standard ML.json +322 -0
- data/config/syntax/Subversion commit message.json +62 -0
- data/config/syntax/Tcl.json +278 -0
- data/config/syntax/TeX Math.json +83 -0
- data/config/syntax/TeX.json +157 -0
- data/config/syntax/Textile.json +273 -0
- data/config/syntax/Twiki.json +436 -0
- data/config/syntax/Vectorscript.json +97 -0
- data/config/syntax/XML strict.json +148 -0
- data/config/syntax/XML.json +301 -0
- data/config/syntax/XSL.json +96 -0
- data/config/syntax/YAML.json +293 -0
- data/config/syntax/iCalendar.json +51 -0
- data/config/syntax/reStructuredText.json +403 -0
- data/config/theme/Active4D.json +260 -0
- data/config/theme/All Hallow's Eve.json +171 -0
- data/config/theme/Amy.json +359 -0
- data/config/theme/BBEdit.json +269 -0
- data/config/theme/Bespin.json +322 -0
- data/config/theme/Blackboard.json +215 -0
- data/config/theme/BoysAndGirls01.json +156 -0
- data/config/theme/Brilliance Black.json +1695 -0
- data/config/theme/Brilliance Dull.json +1451 -0
- data/config/theme/Classic Modified.json +288 -0
- data/config/theme/Cobalt.json +345 -0
- data/config/theme/Cool Glow.json +215 -0
- data/config/theme/Dawn.json +258 -0
- data/config/theme/Eiffel.json +270 -0
- data/config/theme/Espresso Libre.json +247 -0
- data/config/theme/Fluidvision.json +272 -0
- data/config/theme/IDLE.json +159 -0
- data/config/theme/LAZY.json +178 -0
- data/config/theme/Mac Classic.json +277 -0
- data/config/theme/MagicWB (Amiga).json +231 -0
- data/config/theme/Merbivore Soft.json +181 -0
- data/config/theme/Merbivore.json +181 -0
- data/config/theme/Monokai.json +177 -0
- data/config/theme/Notepad2.json +166 -0
- data/config/theme/Pastels on Dark.json +437 -0
- data/config/theme/RubyBlue.json +226 -0
- data/config/theme/Sin City 2.json +361 -0
- data/config/theme/Slate.json +270 -0
- data/config/theme/Slush & Poppies.json +232 -0
- data/config/theme/SpaceCadet.json +143 -0
- data/config/theme/Sunburst.json +415 -0
- data/config/theme/Twilight BG FG.json +633 -0
- data/config/theme/Twilight.json +321 -0
- data/config/theme/Whys Poignant.json +119 -0
- data/config/theme/Zenburnesque.json +237 -0
- data/config/theme/barf.json +155 -0
- data/config/theme/fake.json +418 -0
- data/config/theme/happydeluxe.json +114 -0
- data/config/theme/iLife 05.json +393 -0
- data/config/theme/iPlastic.json +177 -0
- data/config/theme/mintBlue Dark.json +414 -0
- data/config/theme/mintBlue.json +415 -0
- data/config/theme/monoindustrial.json +276 -0
- data/config/theme/starlight.json +67 -0
- data/config/tutorial +74 -0
- data/config/welcome +115 -0
- data/help/index.verh +14 -0
- data/lib/ver.rb +156 -0
- data/lib/ver/entry.rb +97 -0
- data/lib/ver/keymap.rb +96 -0
- data/lib/ver/layout.rb +107 -0
- data/lib/ver/methods.rb +19 -0
- data/lib/ver/methods/completion.rb +116 -0
- data/lib/ver/methods/control.rb +340 -0
- data/lib/ver/methods/insert.rb +6 -0
- data/lib/ver/methods/move.rb +65 -0
- data/lib/ver/methods/search.rb +33 -0
- data/lib/ver/methods/select.rb +145 -0
- data/lib/ver/methods/views.rb +21 -0
- data/lib/ver/mode.rb +160 -0
- data/lib/ver/options.rb +207 -0
- data/lib/ver/plist.rb +106 -0
- data/lib/ver/status.rb +67 -0
- data/lib/ver/syntax.rb +68 -0
- data/lib/ver/syntax/detector.rb +53 -0
- data/lib/ver/syntax/processor.rb +48 -0
- data/lib/ver/text.rb +374 -0
- data/lib/ver/textpow.rb +357 -0
- data/lib/ver/theme.rb +162 -0
- data/lib/ver/vendor/fuzzy_file_finder.rb +340 -0
- data/lib/ver/view.rb +163 -0
- data/lib/ver/view/entry.rb +28 -0
- data/lib/ver/view/list.rb +137 -0
- data/lib/ver/view/list/buffer.rb +27 -0
- data/lib/ver/view/list/fuzzy_file_finder.rb +44 -0
- data/lib/ver/view/list/syntax.rb +13 -0
- data/lib/ver/view/list/theme.rb +13 -0
- data/spec/keymap.rb +224 -0
- data/tasks/bacon.rake +49 -0
- data/tasks/changelog.rake +18 -0
- data/tasks/gem.rake +22 -0
- data/tasks/gem_installer.rake +76 -0
- data/tasks/grancher.rake +12 -0
- data/tasks/install_dependencies.rake +6 -0
- data/tasks/manifest.rake +4 -0
- data/tasks/plist2json.rake +35 -0
- data/tasks/rcov.rake +18 -0
- data/tasks/release.rake +12 -0
- data/tasks/reversion.rake +8 -0
- data/tasks/syntax_list.rake +31 -0
- data/ver.gemspec +29 -0
- metadata +241 -0
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
{
|
|
2
|
+
"fileTypes": [
|
|
3
|
+
"mhtml",
|
|
4
|
+
"autohandler",
|
|
5
|
+
"dhandler",
|
|
6
|
+
"md",
|
|
7
|
+
"mc"
|
|
8
|
+
],
|
|
9
|
+
"foldingStartMarker": "(<(?i:(head|table|div|style|script|ul|ol|form|dl))\\b.*?>|\\{)",
|
|
10
|
+
"foldingStopMarker": "(<\/(?i:(head|table|div|style|script|ul|ol|form|dl))>|\\})",
|
|
11
|
+
"name": "HTML (Mason)",
|
|
12
|
+
"patterns": [
|
|
13
|
+
{
|
|
14
|
+
"begin": "(<%(perl|attr|global|once|init|cleanup|requestlocal|requestonce|shared|threadlocal|threadonce|flags)( scope.*?)?>)",
|
|
15
|
+
"captures": {
|
|
16
|
+
"1": {
|
|
17
|
+
"name": "punctuation.section.embedded.perl.mason"
|
|
18
|
+
},
|
|
19
|
+
"2": {
|
|
20
|
+
"name": "keyword.control"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"end": "(<\/%(\\2)>)(\\s*$\\n)?",
|
|
24
|
+
"name": "source.perl.mason.block",
|
|
25
|
+
"patterns": [
|
|
26
|
+
{
|
|
27
|
+
"include": "source.perl"
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"begin": "(<(%text)>)",
|
|
33
|
+
"captures": {
|
|
34
|
+
"1": {
|
|
35
|
+
"name": "keyword.control"
|
|
36
|
+
},
|
|
37
|
+
"2": {
|
|
38
|
+
"name": "variable.other"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"end": "(<\/(%text)>)",
|
|
42
|
+
"name": "source.perl.mason.doc",
|
|
43
|
+
"patterns": [
|
|
44
|
+
{
|
|
45
|
+
"begin": "(?<=<%text>)",
|
|
46
|
+
"end": "(?=<\/%text>)",
|
|
47
|
+
"name": "comment.block"
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"begin": "(<(%doc)>)",
|
|
53
|
+
"captures": {
|
|
54
|
+
"1": {
|
|
55
|
+
"name": "keyword.control"
|
|
56
|
+
},
|
|
57
|
+
"2": {
|
|
58
|
+
"name": "variable.other"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"end": "(<\/(%doc)>)",
|
|
62
|
+
"name": "source.perl.mason.doc",
|
|
63
|
+
"patterns": [
|
|
64
|
+
{
|
|
65
|
+
"begin": "(?<=<%doc>)",
|
|
66
|
+
"end": "(?=<\/%doc>)",
|
|
67
|
+
"name": "comment.block"
|
|
68
|
+
}
|
|
69
|
+
]
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"begin": "^(%)",
|
|
73
|
+
"beginCaptures": {
|
|
74
|
+
"1": {
|
|
75
|
+
"name": "punctuation.section.embedded.perl.mason"
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"end": "$\\n?",
|
|
79
|
+
"name": "source.perl.mason.line",
|
|
80
|
+
"patterns": [
|
|
81
|
+
{
|
|
82
|
+
"include": "source.perl"
|
|
83
|
+
}
|
|
84
|
+
]
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"begin": "(<&\\|)((\\w|\\.|\\:)*)(?!&>)",
|
|
88
|
+
"beginCaptures": {
|
|
89
|
+
"1": {
|
|
90
|
+
"name": "keyword.control"
|
|
91
|
+
},
|
|
92
|
+
"2": {
|
|
93
|
+
"name": "entity.name.function"
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"end": "(<\/&>)",
|
|
97
|
+
"endCaptures": {
|
|
98
|
+
"1": {
|
|
99
|
+
"name": "keyword.control"
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"name": "source.mason.component.block",
|
|
103
|
+
"patterns": [
|
|
104
|
+
{
|
|
105
|
+
"begin": "(&>)",
|
|
106
|
+
"beginCaptures": {
|
|
107
|
+
"1": {
|
|
108
|
+
"name": "keyword.control"
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"end": "(?=<\/&>)",
|
|
112
|
+
"name": "source.mason.nesty",
|
|
113
|
+
"patterns": [
|
|
114
|
+
{
|
|
115
|
+
"include": "$self"
|
|
116
|
+
}
|
|
117
|
+
]
|
|
118
|
+
}
|
|
119
|
+
]
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"begin": "(<&)(.{1,}?)( |,)+",
|
|
123
|
+
"beginCaptures": {
|
|
124
|
+
"1": {
|
|
125
|
+
"name": "keyword.control"
|
|
126
|
+
},
|
|
127
|
+
"2": {
|
|
128
|
+
"name": "entity.name.function"
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
"end": "(&>)",
|
|
132
|
+
"endCaptures": {
|
|
133
|
+
"1": {
|
|
134
|
+
"name": "keyword.control"
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"name": "source.mason.component",
|
|
138
|
+
"patterns": [
|
|
139
|
+
{
|
|
140
|
+
"include": "source.perl"
|
|
141
|
+
}
|
|
142
|
+
]
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"begin": "(<%(args.*?)>)",
|
|
146
|
+
"captures": {
|
|
147
|
+
"1": {
|
|
148
|
+
"name": "keyword.control"
|
|
149
|
+
},
|
|
150
|
+
"2": {
|
|
151
|
+
"name": "variable.other"
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
"end": "(<\/%(\\2)>)",
|
|
155
|
+
"name": "source.mason.args",
|
|
156
|
+
"patterns": [
|
|
157
|
+
{
|
|
158
|
+
"captures": {
|
|
159
|
+
"2": {
|
|
160
|
+
"name": "string.quoted.single"
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"include": "source.perl",
|
|
164
|
+
"match": "(\\s*)?(\\w*)"
|
|
165
|
+
}
|
|
166
|
+
]
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"begin": "(<%(method|def|closure) .*?>)",
|
|
170
|
+
"captures": {
|
|
171
|
+
"1": {
|
|
172
|
+
"name": "keyword.control"
|
|
173
|
+
},
|
|
174
|
+
"2": {
|
|
175
|
+
"name": "variable.other"
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
"end": "(<\/%(\\2)>)",
|
|
179
|
+
"name": "source.mason.methods",
|
|
180
|
+
"patterns": [
|
|
181
|
+
{
|
|
182
|
+
"include": "$self"
|
|
183
|
+
}
|
|
184
|
+
]
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"begin": "(<%) ",
|
|
188
|
+
"captures": {
|
|
189
|
+
"1": {
|
|
190
|
+
"name": "keyword.control"
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
"end": "(%>)",
|
|
194
|
+
"name": "source.mason.substitution",
|
|
195
|
+
"patterns": [
|
|
196
|
+
{
|
|
197
|
+
"include": "source.perl"
|
|
198
|
+
}
|
|
199
|
+
]
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"include": "text.html.basic"
|
|
203
|
+
}
|
|
204
|
+
],
|
|
205
|
+
"scopeName": "text.html.mason",
|
|
206
|
+
"uuid": "34979B9C-CDDC-483E-93B5-B65C6B15E6B0"
|
|
207
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"fileTypes": [
|
|
3
|
+
"rhtml",
|
|
4
|
+
"erb",
|
|
5
|
+
"html.erb"
|
|
6
|
+
],
|
|
7
|
+
"foldingStartMarker": "(?x)\n\t\t(<(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)\\b.*?>\n\t\t|<!--(?!.*-->)\n\t\t|\\{\\s*($|\\?>\\s*$|\/\/|\/\\*(.*\\*\/\\s*$|(?!.*?\\*\/)))\n\t\t)",
|
|
8
|
+
"foldingStopMarker": "(?x)\n\t\t(<\/(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)>\n\t\t|^\\s*-->\n\t\t|(^|\\s)\\}\n\t\t)",
|
|
9
|
+
"keyEquivalent": "^~R",
|
|
10
|
+
"name": "HTML (Rails)",
|
|
11
|
+
"patterns": [
|
|
12
|
+
{
|
|
13
|
+
"begin": "<%+#",
|
|
14
|
+
"captures": {
|
|
15
|
+
"0": {
|
|
16
|
+
"name": "punctuation.definition.comment.erb"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"end": "%>",
|
|
20
|
+
"name": "comment.block.erb"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"begin": "<%+(?!>)[-=]?",
|
|
24
|
+
"captures": {
|
|
25
|
+
"0": {
|
|
26
|
+
"name": "punctuation.section.embedded.ruby"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"end": "-?%>",
|
|
30
|
+
"name": "source.ruby.rails.embedded.html",
|
|
31
|
+
"patterns": [
|
|
32
|
+
{
|
|
33
|
+
"captures": {
|
|
34
|
+
"1": {
|
|
35
|
+
"name": "punctuation.definition.comment.ruby"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"match": "(#).*?(?=-?%>)",
|
|
39
|
+
"name": "comment.line.number-sign.ruby"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"include": "source.ruby.rails"
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"include": "text.html.basic"
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
"scopeName": "text.html.ruby",
|
|
51
|
+
"uuid": "45D7E1FC-7D0B-4105-A1A2-3D10BB555A5C"
|
|
52
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"fileTypes": [
|
|
3
|
+
"tcl",
|
|
4
|
+
"adp",
|
|
5
|
+
"inc"
|
|
6
|
+
],
|
|
7
|
+
"foldingStartMarker": "(<(?i:(head|table|div|style|script|ul|ol|form|dl))\\b.*?>|\\{)",
|
|
8
|
+
"foldingStopMarker": "(<\/(?i:(head|table|div|style|script|ul|ol|form|dl))>|\\})",
|
|
9
|
+
"keyEquivalent": "^~T",
|
|
10
|
+
"name": "HTML (Tcl)",
|
|
11
|
+
"patterns": [
|
|
12
|
+
{
|
|
13
|
+
"begin": "<%",
|
|
14
|
+
"beginCaptures": {
|
|
15
|
+
"0": {
|
|
16
|
+
"name": "punctuation.section.embedded.begin.tcl"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"end": "%>",
|
|
20
|
+
"endCaptures": {
|
|
21
|
+
"0": {
|
|
22
|
+
"name": "punctuation.section.embedded.end.tcl"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"name": "source.tcl.embedded.html",
|
|
26
|
+
"patterns": [
|
|
27
|
+
{
|
|
28
|
+
"match": "(env|ns_adp_argc|ns_adp_argv|ns_adp_bind_args|ns_adp_break|ns_adp_debug|ns_adp_dir|ns_adp_dump|ns_adp_eval|ns_adp_exception|ns_adp_include|ns_adp_parse|ns_adp_puts|ns_adp_registertag|ns_adp_return|ns_adp_stream|ns_adp_tell|ns_adp_trunc|ns_atclose|ns_atexit|ns_atshutdown|ns_atsignal|ns_cache_flush|ns_cache_names|ns_cache_size|ns_cache_stats|ns_checkurl|ns_chmod|ns_cond|ns_config|ns_configsection|ns_configsections|ns_conn|ns_conncptofp|ns_connsendfp|ns_cp|ns_cpfp|ns_critsec|ns_crypt|ns_db|ns_dbconfigpath|ns_dberror|ns_dbformvalue|ns_dbformvalueput|ns_dbquotename|ns_dbquotevalue|ns_deleterow|ns_eval|ns_event|ns_ext|ns_findrowbyid|ns_fmttime|ns_ftruncate|ns_getcsv|ns_getform|ns_get_multipart_formdata|ns_geturl|ns_gifsize|ns_gmtime|ns_guesstype|ns_hostbyaddr|ns_hrefs|ns_httpget|ns_httpopen|ns_httptime|ns_info|ns_insertrow|ns_jpegsize|ns_kill|ns_library|ns_link|ns_localsqltimestamp|ns_localtime|ns_log|ns_logroll|ns_markfordelete|ns_mkdir|ns_mktemp|ns_modulepath|ns_mutex|ns_normalizepath|ns_param|ns_parseheader|ns_parsehttptime|ns_parsequery|ns_passwordcheck|ns_perm|ns_permpasswd|ns_pooldescription|ns_puts|ns_queryexists|ns_queryget|ns_querygetall|ns_quotehtml|ns_rand|ns_register_adptag|ns_register_filter|ns_register_proc|ns_register_trace|ns_rename|ns_requestauthorize|ns_respond|ns_return|ns_returnredirect|ns_rmdir|ns_rollfile|ns_rwlock|ns_schedule_daily|ns_schedule_proc|ns_schedule_weekly|ns_section|ns_sema|ns_sendmail|ns_server|ns_set|ns_setexpires|ns_set_precision|ns_share|ns_shutdown|ns_sleep|ns_sockaccept|ns_sockblocking|ns_sockcallback|ns_sockcheck|ns_socketpair|ns_socklistencallback|ns_socknonblocking|ns_socknread|ns_sockopen|ns_sockselect|ns_striphtml|ns_symlink|ns_thread|ns_time|ns_tmpnam|ns_truncate|ns_unlink|ns_unschedule_proc|ns_url2file|ns_urldecode|ns_urlencode|ns_uudecode|ns_uuencode|ns_write|ns_writecontent|ns_writefp|nsv_incr)\\b",
|
|
29
|
+
"name": "keyword.other.tcl.aolserver"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"include": "source.tcl"
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"include": "text.html.basic"
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"scopeName": "text.html.tcl",
|
|
41
|
+
"uuid": "42F00A35-6D17-44B8-8C9B-438F9FE9E241"
|
|
42
|
+
}
|
|
@@ -0,0 +1,736 @@
|
|
|
1
|
+
{
|
|
2
|
+
"comment": "This is a modified version of the HTML language that uses ASP VB.NET for embedded source code instead of ruby. Thomas Aylott subtleGradient.com",
|
|
3
|
+
"fileTypes": [
|
|
4
|
+
"aspx",
|
|
5
|
+
"ascx"
|
|
6
|
+
],
|
|
7
|
+
"foldingStartMarker": "(?x)\n\t\t(<(?i:mm:dataset|mm:insert|mm:update|asp:DataGrid|asp:Repeater|asp:TemplateColumn|head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)\\b\n\t\t|<!--(?!.*-->)\n\t\t|<%(?!.*%>)\n\t\t|\\{\\{?(if|foreach|capture|literal|foreach|php|section|strip)\n\t\t|\\{\\s*($|\\?>\\s*$|\/\/|\/\\*(.*\\*\/\\s*$|(?!.*?\\*\/)))\n\t\t)",
|
|
8
|
+
"foldingStopMarker": "(?x)\n\t\t(<\/(?i:mm:dataset|mm:insert|mm:update|asp:DataGrid|asp:Repeater|asp:TemplateColumn|head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)>\n\t\t|^\\s*-->\n\t\t|^\\s*%>\n\t\t|\\{\\{?\/(if|foreach|capture|literal|foreach|php|section|strip)\n\t\t|(^|\\s)\\}\n\t\t)",
|
|
9
|
+
"keyEquivalent": "^~A",
|
|
10
|
+
"name": "HTML (ASP.net)",
|
|
11
|
+
"patterns": [
|
|
12
|
+
{
|
|
13
|
+
"include": "#php"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"include": "#asp"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"include": "#smarty"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"captures": {
|
|
23
|
+
"1": {
|
|
24
|
+
"name": "punctuation.definition.tag.html"
|
|
25
|
+
},
|
|
26
|
+
"2": {
|
|
27
|
+
"name": "entity.name.tag.html"
|
|
28
|
+
},
|
|
29
|
+
"3": {
|
|
30
|
+
"name": "punctuation.definition.tag.html"
|
|
31
|
+
},
|
|
32
|
+
"4": {
|
|
33
|
+
"name": "meta.scope.between-tag-pair.html"
|
|
34
|
+
},
|
|
35
|
+
"5": {
|
|
36
|
+
"name": "entity.name.tag.html"
|
|
37
|
+
},
|
|
38
|
+
"6": {
|
|
39
|
+
"name": "punctuation.definition.tag.html"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"match": "(<)(\\w+)[^>]*((>)<\/)(\\2)(>)",
|
|
43
|
+
"name": "meta.tag.html"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"begin": "(<\\?)(xml)",
|
|
47
|
+
"captures": {
|
|
48
|
+
"1": {
|
|
49
|
+
"name": "punctuation.definition.tag.html"
|
|
50
|
+
},
|
|
51
|
+
"2": {
|
|
52
|
+
"name": "entity.name.tag.xml.html"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"end": "(\\?>)",
|
|
56
|
+
"name": "meta.tag.preprocessor.xml.html",
|
|
57
|
+
"patterns": [
|
|
58
|
+
{
|
|
59
|
+
"include": "#tag-generic-attribute"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"include": "#string-double-quoted"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"include": "#string-single-quoted"
|
|
66
|
+
}
|
|
67
|
+
]
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"begin": "<!--",
|
|
71
|
+
"captures": {
|
|
72
|
+
"0": {
|
|
73
|
+
"name": "punctuation.definition.comment.asp.net"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"end": "-->",
|
|
77
|
+
"name": "comment.block.html",
|
|
78
|
+
"patterns": [
|
|
79
|
+
{
|
|
80
|
+
"match": "--",
|
|
81
|
+
"name": "invalid.illegal.bad-comments-or-CDATA.html"
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"begin": "<!",
|
|
87
|
+
"captures": {
|
|
88
|
+
"0": {
|
|
89
|
+
"name": "punctuation.definition.tag.asp.net"
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"end": ">",
|
|
93
|
+
"name": "meta.tag.sgml.html",
|
|
94
|
+
"patterns": [
|
|
95
|
+
{
|
|
96
|
+
"begin": "(DOCTYPE)",
|
|
97
|
+
"captures": {
|
|
98
|
+
"1": {
|
|
99
|
+
"name": "entity.name.tag.doctype.html"
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"end": "(?=>)",
|
|
103
|
+
"name": "meta.tag.sgml.doctype.html",
|
|
104
|
+
"patterns": [
|
|
105
|
+
{
|
|
106
|
+
"match": "\"[^\">]*\"",
|
|
107
|
+
"name": "string.quoted.double.doctype.identifiers-and-DTDs.html"
|
|
108
|
+
}
|
|
109
|
+
]
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"begin": "\\[CDATA\\[",
|
|
113
|
+
"end": "]](?=>)",
|
|
114
|
+
"name": "constant.other.inline-data.html"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"match": "(\\s*)(?!--|>)\\S(\\s*)",
|
|
118
|
+
"name": "invalid.illegal.bad-comments-or-CDATA.html"
|
|
119
|
+
}
|
|
120
|
+
]
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"begin": "(?:^\\s+)?(<)((?i:script))\\b(?![^>]*\/>)",
|
|
124
|
+
"captures": {
|
|
125
|
+
"1": {
|
|
126
|
+
"name": "punctuation.definition.tag.html"
|
|
127
|
+
},
|
|
128
|
+
"2": {
|
|
129
|
+
"name": "entity.name.tag.script.html"
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
"end": "(?<=<\/(script|SCRIPT))(>)(?:\\s*\\n)?",
|
|
133
|
+
"name": "source.js.embedded.html",
|
|
134
|
+
"patterns": [
|
|
135
|
+
{
|
|
136
|
+
"include": "#tag-stuff"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"begin": "(?<!<\/(?:script|SCRIPT))(>)",
|
|
140
|
+
"captures": {
|
|
141
|
+
"1": {
|
|
142
|
+
"name": "punctuation.definition.tag.html"
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
"end": "(<\/)((?i:script))",
|
|
146
|
+
"patterns": [
|
|
147
|
+
{
|
|
148
|
+
"include": "source.js"
|
|
149
|
+
}
|
|
150
|
+
]
|
|
151
|
+
}
|
|
152
|
+
]
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"begin": "(?:^\\s+)?(<)((?i:style))\\b(?![^>]*\/>)",
|
|
156
|
+
"captures": {
|
|
157
|
+
"1": {
|
|
158
|
+
"name": "punctuation.definition.tag.html"
|
|
159
|
+
},
|
|
160
|
+
"2": {
|
|
161
|
+
"name": "entity.name.tag.style.html"
|
|
162
|
+
},
|
|
163
|
+
"3": {
|
|
164
|
+
"name": "punctuation.definition.tag.html"
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
"end": "(<\/)((?i:style))(>)(?:\\s*\\n)?",
|
|
168
|
+
"name": "source.css.embedded.html",
|
|
169
|
+
"patterns": [
|
|
170
|
+
{
|
|
171
|
+
"include": "#tag-stuff"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"begin": "(>)",
|
|
175
|
+
"beginCaptures": {
|
|
176
|
+
"1": {
|
|
177
|
+
"name": "punctuation.definition.tag.html"
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
"end": "(?=<\/(?i:style))",
|
|
181
|
+
"patterns": [
|
|
182
|
+
{
|
|
183
|
+
"include": "source.css"
|
|
184
|
+
}
|
|
185
|
+
]
|
|
186
|
+
}
|
|
187
|
+
]
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"begin": "(<\/?)((?i:body|head|html)\\b)",
|
|
191
|
+
"captures": {
|
|
192
|
+
"1": {
|
|
193
|
+
"name": "punctuation.definition.tag.html"
|
|
194
|
+
},
|
|
195
|
+
"2": {
|
|
196
|
+
"name": "entity.name.tag.structure.any.html"
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
"end": "(>)",
|
|
200
|
+
"name": "meta.tag.structure.any.html",
|
|
201
|
+
"patterns": [
|
|
202
|
+
{
|
|
203
|
+
"include": "#tag-stuff"
|
|
204
|
+
}
|
|
205
|
+
]
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"begin": "(<\/?)((?i:address|blockquote|dd|div|dl|dt|fieldset|form|frame|frameset|h1|h2|h3|h4|h5|h6|iframe|noframes|object|ol|p|ul|applet|center|dir|hr|menu|pre)\\b)",
|
|
209
|
+
"captures": {
|
|
210
|
+
"1": {
|
|
211
|
+
"name": "punctuation.definition.tag.html"
|
|
212
|
+
},
|
|
213
|
+
"2": {
|
|
214
|
+
"name": "entity.name.tag.block.any.html"
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
"end": "(>)",
|
|
218
|
+
"name": "meta.tag.block.any.html",
|
|
219
|
+
"patterns": [
|
|
220
|
+
{
|
|
221
|
+
"include": "#tag-stuff"
|
|
222
|
+
}
|
|
223
|
+
]
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"begin": "(<\/?)((?i:a|abbr|acronym|area|b|base|basefont|bdo|big|br|button|caption|cite|code|col|colgroup|del|dfn|em|font|head|html|i|img|input|ins|isindex|kbd|label|legend|li|link|map|meta|noscript|optgroup|option|param|q|s|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|u|var)\\b)",
|
|
227
|
+
"captures": {
|
|
228
|
+
"1": {
|
|
229
|
+
"name": "punctuation.definition.tag.html"
|
|
230
|
+
},
|
|
231
|
+
"2": {
|
|
232
|
+
"name": "entity.name.tag.inline.any.html"
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
"end": "(>)",
|
|
236
|
+
"name": "meta.tag.inline.any.html",
|
|
237
|
+
"patterns": [
|
|
238
|
+
{
|
|
239
|
+
"include": "#tag-stuff"
|
|
240
|
+
}
|
|
241
|
+
]
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"begin": "(<\/?)([a-zA-Z0-9:]+)",
|
|
245
|
+
"captures": {
|
|
246
|
+
"1": {
|
|
247
|
+
"name": "punctuation.definition.tag.html"
|
|
248
|
+
},
|
|
249
|
+
"2": {
|
|
250
|
+
"name": "entity.name.tag.other.html"
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
"end": "(>)",
|
|
254
|
+
"name": "meta.tag.other.html",
|
|
255
|
+
"patterns": [
|
|
256
|
+
{
|
|
257
|
+
"include": "#tag-stuff"
|
|
258
|
+
}
|
|
259
|
+
]
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"include": "#entities"
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"match": "<>",
|
|
266
|
+
"name": "invalid.illegal.incomplete.html"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"match": "<(?=\\W)|>",
|
|
270
|
+
"name": "invalid.illegal.bad-angle-bracket.html"
|
|
271
|
+
}
|
|
272
|
+
],
|
|
273
|
+
"repository": {
|
|
274
|
+
"asp": {
|
|
275
|
+
"patterns": [
|
|
276
|
+
{
|
|
277
|
+
"include": "#source-asp-embedded-scripttag"
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"include": "#source-asp-embedded"
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"include": "#source-asp-bound"
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"include": "#source-asp-return"
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"captures": {
|
|
290
|
+
"1": {
|
|
291
|
+
"name": "punctuation.definition.tag.asp"
|
|
292
|
+
},
|
|
293
|
+
"3": {
|
|
294
|
+
"name": "punctuation.definition.tag.asp"
|
|
295
|
+
}
|
|
296
|
+
},
|
|
297
|
+
"match": "(<!--)\\s+#include.*(-->)",
|
|
298
|
+
"name": "meta.source.embedded.asp.include"
|
|
299
|
+
}
|
|
300
|
+
]
|
|
301
|
+
},
|
|
302
|
+
"embedded-code": {
|
|
303
|
+
"patterns": [
|
|
304
|
+
{
|
|
305
|
+
"include": "#php"
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"include": "#asp"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"include": "#smarty"
|
|
312
|
+
}
|
|
313
|
+
]
|
|
314
|
+
},
|
|
315
|
+
"entities": {
|
|
316
|
+
"patterns": [
|
|
317
|
+
{
|
|
318
|
+
"captures": {
|
|
319
|
+
"1": {
|
|
320
|
+
"name": "punctuation.definition.entity.html"
|
|
321
|
+
},
|
|
322
|
+
"3": {
|
|
323
|
+
"name": "punctuation.definition.entity.html"
|
|
324
|
+
}
|
|
325
|
+
},
|
|
326
|
+
"match": "(&)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)",
|
|
327
|
+
"name": "constant.character.entity.html"
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"match": "&",
|
|
331
|
+
"name": "invalid.illegal.bad-ampersand.html"
|
|
332
|
+
}
|
|
333
|
+
]
|
|
334
|
+
},
|
|
335
|
+
"php": {
|
|
336
|
+
"patterns": [
|
|
337
|
+
{
|
|
338
|
+
"begin": "(?:^\\s*)(<\\?(php|=)?)(?!.*\\?>)",
|
|
339
|
+
"captures": {
|
|
340
|
+
"1": {
|
|
341
|
+
"name": "punctuation.section.embedded.php"
|
|
342
|
+
}
|
|
343
|
+
},
|
|
344
|
+
"comment": "match only multi-line PHP with leading whitespace",
|
|
345
|
+
"end": "(\\?>)(?:\\s*$\\n)?",
|
|
346
|
+
"name": "source.php.embedded.html",
|
|
347
|
+
"patterns": [
|
|
348
|
+
{
|
|
349
|
+
"include": "#php-source"
|
|
350
|
+
}
|
|
351
|
+
]
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
"begin": "<\\?(php|=)?",
|
|
355
|
+
"beginCaptures": {
|
|
356
|
+
"0": {
|
|
357
|
+
"name": "punctuation.section.embedded.begin.php"
|
|
358
|
+
}
|
|
359
|
+
},
|
|
360
|
+
"end": "\\?>",
|
|
361
|
+
"endCaptures": {
|
|
362
|
+
"0": {
|
|
363
|
+
"name": "punctuation.section.embedded.end.php"
|
|
364
|
+
}
|
|
365
|
+
},
|
|
366
|
+
"name": "source.php.embedded.html",
|
|
367
|
+
"patterns": [
|
|
368
|
+
{
|
|
369
|
+
"include": "#php-source"
|
|
370
|
+
}
|
|
371
|
+
]
|
|
372
|
+
}
|
|
373
|
+
]
|
|
374
|
+
},
|
|
375
|
+
"php-source": {
|
|
376
|
+
"patterns": [
|
|
377
|
+
{
|
|
378
|
+
"captures": {
|
|
379
|
+
"1": {
|
|
380
|
+
"name": "punctuation.definition.comment.php"
|
|
381
|
+
}
|
|
382
|
+
},
|
|
383
|
+
"match": "(#).*?(?=\\?>)",
|
|
384
|
+
"name": "comment.line.number-sign.php"
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
"captures": {
|
|
388
|
+
"1": {
|
|
389
|
+
"name": "punctuation.definition.comment.php"
|
|
390
|
+
}
|
|
391
|
+
},
|
|
392
|
+
"match": "(\/\/).*?(?=\\?>)",
|
|
393
|
+
"name": "comment.line.double-slash.php"
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
"include": "source.php"
|
|
397
|
+
}
|
|
398
|
+
]
|
|
399
|
+
},
|
|
400
|
+
"ruby": {
|
|
401
|
+
"begin": "<%+(?!>)=?",
|
|
402
|
+
"beginCaptures": {
|
|
403
|
+
"0": {
|
|
404
|
+
"name": "punctuation.section.embedded.begin.ruby"
|
|
405
|
+
}
|
|
406
|
+
},
|
|
407
|
+
"end": "-?%>",
|
|
408
|
+
"endCaptures": {
|
|
409
|
+
"0": {
|
|
410
|
+
"name": "punctuation.section.embedded.end.ruby"
|
|
411
|
+
}
|
|
412
|
+
},
|
|
413
|
+
"name": "source.ruby.embedded.html",
|
|
414
|
+
"patterns": [
|
|
415
|
+
{
|
|
416
|
+
"captures": {
|
|
417
|
+
"1": {
|
|
418
|
+
"name": "punctuation.definition.comment.ruby"
|
|
419
|
+
}
|
|
420
|
+
},
|
|
421
|
+
"match": "(#).*?(?=-?%>)",
|
|
422
|
+
"name": "comment.line.number-sign.ruby"
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
"include": "source.ruby"
|
|
426
|
+
}
|
|
427
|
+
]
|
|
428
|
+
},
|
|
429
|
+
"smarty": {
|
|
430
|
+
"patterns": [
|
|
431
|
+
{
|
|
432
|
+
"begin": "((\\{)(literal)(\\}))",
|
|
433
|
+
"captures": {
|
|
434
|
+
"1": {
|
|
435
|
+
"name": "source.smarty.embedded.html"
|
|
436
|
+
},
|
|
437
|
+
"2": {
|
|
438
|
+
"name": "punctuation.section.embedded.smarty"
|
|
439
|
+
},
|
|
440
|
+
"3": {
|
|
441
|
+
"name": "support.function.built-in.smarty"
|
|
442
|
+
},
|
|
443
|
+
"4": {
|
|
444
|
+
"name": "punctuation.section.embedded.smarty"
|
|
445
|
+
}
|
|
446
|
+
},
|
|
447
|
+
"end": "((\\{\/)(literal)(\\}))"
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"begin": "{{|{",
|
|
451
|
+
"captures": {
|
|
452
|
+
"0": {
|
|
453
|
+
"name": "punctuation.section.embedded.smarty"
|
|
454
|
+
}
|
|
455
|
+
},
|
|
456
|
+
"disabled": 1,
|
|
457
|
+
"end": "}}|}",
|
|
458
|
+
"name": "source.smarty.embedded.html",
|
|
459
|
+
"patterns": [
|
|
460
|
+
{
|
|
461
|
+
"include": "source.smarty"
|
|
462
|
+
}
|
|
463
|
+
]
|
|
464
|
+
}
|
|
465
|
+
]
|
|
466
|
+
},
|
|
467
|
+
"source-asp-bound": {
|
|
468
|
+
"begin": "<%#",
|
|
469
|
+
"beginCaptures": {
|
|
470
|
+
"0": {
|
|
471
|
+
"name": "punctuation.section.embedded.begin.asp"
|
|
472
|
+
}
|
|
473
|
+
},
|
|
474
|
+
"end": "%>",
|
|
475
|
+
"endCaptures": {
|
|
476
|
+
"0": {
|
|
477
|
+
"name": "punctuation.section.embedded.end.asp"
|
|
478
|
+
}
|
|
479
|
+
},
|
|
480
|
+
"name": "meta.source.embedded.bound",
|
|
481
|
+
"patterns": [
|
|
482
|
+
{
|
|
483
|
+
"begin": "(?<=<%#)",
|
|
484
|
+
"end": "(?=%>)",
|
|
485
|
+
"name": "source.asp.embedded.html",
|
|
486
|
+
"patterns": [
|
|
487
|
+
{
|
|
488
|
+
"include": "source.asp.vb.net"
|
|
489
|
+
}
|
|
490
|
+
]
|
|
491
|
+
}
|
|
492
|
+
]
|
|
493
|
+
},
|
|
494
|
+
"source-asp-embedded": {
|
|
495
|
+
"begin": "<%(?![=#])",
|
|
496
|
+
"beginCaptures": {
|
|
497
|
+
"0": {
|
|
498
|
+
"name": "punctuation.section.embedded.begin.asp"
|
|
499
|
+
}
|
|
500
|
+
},
|
|
501
|
+
"end": "%>",
|
|
502
|
+
"endCaptures": {
|
|
503
|
+
"0": {
|
|
504
|
+
"name": "punctuation.section.embedded.end.asp"
|
|
505
|
+
}
|
|
506
|
+
},
|
|
507
|
+
"name": "meta.source.embedded",
|
|
508
|
+
"patterns": [
|
|
509
|
+
{
|
|
510
|
+
"begin": "(?<=<%)",
|
|
511
|
+
"end": "(?=%>)",
|
|
512
|
+
"name": "source.asp.embedded.html",
|
|
513
|
+
"patterns": [
|
|
514
|
+
{
|
|
515
|
+
"include": "source.asp.vb.net"
|
|
516
|
+
}
|
|
517
|
+
]
|
|
518
|
+
}
|
|
519
|
+
]
|
|
520
|
+
},
|
|
521
|
+
"source-asp-embedded-scripttag": {
|
|
522
|
+
"begin": "(?:^\\s+)?(<)(script).*runat=.server[^>]*(>)",
|
|
523
|
+
"captures": {
|
|
524
|
+
"1": {
|
|
525
|
+
"name": "punctuation.definition.tag.html"
|
|
526
|
+
},
|
|
527
|
+
"2": {
|
|
528
|
+
"name": "entity.name.tag.script.html"
|
|
529
|
+
},
|
|
530
|
+
"3": {
|
|
531
|
+
"name": "punctuation.definition.tag.html"
|
|
532
|
+
}
|
|
533
|
+
},
|
|
534
|
+
"end": "(<\/)(script)(>)(?:\\s*$\\n)?",
|
|
535
|
+
"name": "meta.source.embedded.script-tag",
|
|
536
|
+
"patterns": [
|
|
537
|
+
{
|
|
538
|
+
"begin": "(?<=(>))",
|
|
539
|
+
"end": "(?=<\/script>)",
|
|
540
|
+
"name": "source.asp.embedded.html",
|
|
541
|
+
"patterns": [
|
|
542
|
+
{
|
|
543
|
+
"include": "source.asp.vb.net"
|
|
544
|
+
}
|
|
545
|
+
]
|
|
546
|
+
}
|
|
547
|
+
]
|
|
548
|
+
},
|
|
549
|
+
"source-asp-return": {
|
|
550
|
+
"begin": "<%=",
|
|
551
|
+
"beginCaptures": {
|
|
552
|
+
"0": {
|
|
553
|
+
"name": "punctuation.section.embedded.begin.asp"
|
|
554
|
+
}
|
|
555
|
+
},
|
|
556
|
+
"end": "%>",
|
|
557
|
+
"endCaptures": {
|
|
558
|
+
"0": {
|
|
559
|
+
"name": "punctuation.section.embedded.end.asp"
|
|
560
|
+
}
|
|
561
|
+
},
|
|
562
|
+
"name": "meta.source.embedded.return-value",
|
|
563
|
+
"patterns": [
|
|
564
|
+
{
|
|
565
|
+
"begin": "(?<=<%=)",
|
|
566
|
+
"end": "(?=%>)",
|
|
567
|
+
"name": "source.asp.embedded.html",
|
|
568
|
+
"patterns": [
|
|
569
|
+
{
|
|
570
|
+
"include": "source.asp.vb.net"
|
|
571
|
+
}
|
|
572
|
+
]
|
|
573
|
+
}
|
|
574
|
+
]
|
|
575
|
+
},
|
|
576
|
+
"source-asp-single-line": {
|
|
577
|
+
"begin": "<%(=|#|@)",
|
|
578
|
+
"beginCaptures": {
|
|
579
|
+
"0": {
|
|
580
|
+
"name": "punctuation.section.embedded.begin.asp"
|
|
581
|
+
}
|
|
582
|
+
},
|
|
583
|
+
"comment": "DEBUG",
|
|
584
|
+
"end": "%>",
|
|
585
|
+
"endCaptures": {
|
|
586
|
+
"0": {
|
|
587
|
+
"name": "punctuation.section.embedded.end.asp"
|
|
588
|
+
}
|
|
589
|
+
},
|
|
590
|
+
"name": "meta.source.embedded.single-line",
|
|
591
|
+
"patterns": [
|
|
592
|
+
{
|
|
593
|
+
"begin": "(?<=<%)",
|
|
594
|
+
"end": "(?=%>)",
|
|
595
|
+
"name": "source.asp.embedded.html",
|
|
596
|
+
"patterns": [
|
|
597
|
+
{
|
|
598
|
+
"include": "source.asp.vb.net"
|
|
599
|
+
}
|
|
600
|
+
]
|
|
601
|
+
}
|
|
602
|
+
]
|
|
603
|
+
},
|
|
604
|
+
"string-double-quoted": {
|
|
605
|
+
"begin": "\"",
|
|
606
|
+
"beginCaptures": {
|
|
607
|
+
"0": {
|
|
608
|
+
"name": "punctuation.definition.string.begin.html"
|
|
609
|
+
}
|
|
610
|
+
},
|
|
611
|
+
"end": "\"",
|
|
612
|
+
"endCaptures": {
|
|
613
|
+
"0": {
|
|
614
|
+
"name": "punctuation.definition.string.end.html"
|
|
615
|
+
}
|
|
616
|
+
},
|
|
617
|
+
"name": "string.quoted.double.html",
|
|
618
|
+
"patterns": [
|
|
619
|
+
{
|
|
620
|
+
"include": "#embedded-code"
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
"include": "#entities"
|
|
624
|
+
}
|
|
625
|
+
]
|
|
626
|
+
},
|
|
627
|
+
"string-single-quoted": {
|
|
628
|
+
"begin": "'",
|
|
629
|
+
"beginCaptures": {
|
|
630
|
+
"0": {
|
|
631
|
+
"name": "punctuation.definition.string.begin.html"
|
|
632
|
+
}
|
|
633
|
+
},
|
|
634
|
+
"end": "'",
|
|
635
|
+
"endCaptures": {
|
|
636
|
+
"0": {
|
|
637
|
+
"name": "punctuation.definition.string.end.html"
|
|
638
|
+
}
|
|
639
|
+
},
|
|
640
|
+
"name": "string.quoted.single.html",
|
|
641
|
+
"patterns": [
|
|
642
|
+
{
|
|
643
|
+
"include": "#embedded-code"
|
|
644
|
+
},
|
|
645
|
+
{
|
|
646
|
+
"include": "#entities"
|
|
647
|
+
}
|
|
648
|
+
]
|
|
649
|
+
},
|
|
650
|
+
"tag-generic-attribute": {
|
|
651
|
+
"match": "\\b([a-zA-Z:-]+)",
|
|
652
|
+
"name": "entity.other.attribute-name.html"
|
|
653
|
+
},
|
|
654
|
+
"tag-id-attribute": {
|
|
655
|
+
"begin": "\\b(id)\\b\\s*(=)",
|
|
656
|
+
"captures": {
|
|
657
|
+
"1": {
|
|
658
|
+
"name": "entity.other.attribute-name.id.html"
|
|
659
|
+
},
|
|
660
|
+
"2": {
|
|
661
|
+
"name": "punctuation.separator.key-value.html"
|
|
662
|
+
}
|
|
663
|
+
},
|
|
664
|
+
"end": "(?<='|\")",
|
|
665
|
+
"name": "meta.attribute-with-value.id.html",
|
|
666
|
+
"patterns": [
|
|
667
|
+
{
|
|
668
|
+
"begin": "\"",
|
|
669
|
+
"beginCaptures": {
|
|
670
|
+
"0": {
|
|
671
|
+
"name": "punctuation.definition.string.begin.html"
|
|
672
|
+
}
|
|
673
|
+
},
|
|
674
|
+
"contentName": "meta.toc-list.id.html",
|
|
675
|
+
"end": "\"",
|
|
676
|
+
"endCaptures": {
|
|
677
|
+
"0": {
|
|
678
|
+
"name": "punctuation.definition.string.end.html"
|
|
679
|
+
}
|
|
680
|
+
},
|
|
681
|
+
"name": "string.quoted.double.html",
|
|
682
|
+
"patterns": [
|
|
683
|
+
{
|
|
684
|
+
"include": "#embedded-code"
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
"include": "#entities"
|
|
688
|
+
}
|
|
689
|
+
]
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
"begin": "'",
|
|
693
|
+
"beginCaptures": {
|
|
694
|
+
"0": {
|
|
695
|
+
"name": "punctuation.definition.string.begin.html"
|
|
696
|
+
}
|
|
697
|
+
},
|
|
698
|
+
"contentName": "meta.toc-list.id.html",
|
|
699
|
+
"end": "'",
|
|
700
|
+
"endCaptures": {
|
|
701
|
+
"0": {
|
|
702
|
+
"name": "punctuation.definition.string.end.html"
|
|
703
|
+
}
|
|
704
|
+
},
|
|
705
|
+
"name": "string.quoted.single.html",
|
|
706
|
+
"patterns": [
|
|
707
|
+
{
|
|
708
|
+
"include": "#embedded-code"
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
"include": "#entities"
|
|
712
|
+
}
|
|
713
|
+
]
|
|
714
|
+
}
|
|
715
|
+
]
|
|
716
|
+
},
|
|
717
|
+
"tag-stuff": {
|
|
718
|
+
"patterns": [
|
|
719
|
+
{
|
|
720
|
+
"include": "#tag-id-attribute"
|
|
721
|
+
},
|
|
722
|
+
{
|
|
723
|
+
"include": "#tag-generic-attribute"
|
|
724
|
+
},
|
|
725
|
+
{
|
|
726
|
+
"include": "#string-double-quoted"
|
|
727
|
+
},
|
|
728
|
+
{
|
|
729
|
+
"include": "#string-single-quoted"
|
|
730
|
+
}
|
|
731
|
+
]
|
|
732
|
+
}
|
|
733
|
+
},
|
|
734
|
+
"scopeName": "text.html.asp.net",
|
|
735
|
+
"uuid": "426BF395-E61E-430F-8E4C-47F2E15C769B"
|
|
736
|
+
}
|