tm-grammars 0.0.0
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.
- package/LICENSE +22 -0
- package/NOTICE +6565 -0
- package/README.md +211 -0
- package/grammars/abap.json +380 -0
- package/grammars/actionscript-3.json +951 -0
- package/grammars/ada.json +3874 -0
- package/grammars/apache.json +562 -0
- package/grammars/apex.json +3203 -0
- package/grammars/apl.json +1479 -0
- package/grammars/applescript.json +1406 -0
- package/grammars/ara.json +428 -0
- package/grammars/asm.json +1741 -0
- package/grammars/astro.json +776 -0
- package/grammars/awk.json +388 -0
- package/grammars/ballerina.json +3768 -0
- package/grammars/bat.json +783 -0
- package/grammars/beancount.json +831 -0
- package/grammars/berry.json +172 -0
- package/grammars/bibtex.json +315 -0
- package/grammars/bicep.json +239 -0
- package/grammars/blade.json +3870 -0
- package/grammars/c.json +3552 -0
- package/grammars/cadence.json +738 -0
- package/grammars/clarity.json +877 -0
- package/grammars/clojure.json +426 -0
- package/grammars/cmake.json +143 -0
- package/grammars/cobol.json +1124 -0
- package/grammars/codeql.json +1540 -0
- package/grammars/coffee.json +1311 -0
- package/grammars/cpp-macro.json +9498 -0
- package/grammars/cpp.json +16635 -0
- package/grammars/crystal.json +1866 -0
- package/grammars/csharp.json +5722 -0
- package/grammars/css.json +1860 -0
- package/grammars/csv.json +46 -0
- package/grammars/cue.json +1128 -0
- package/grammars/cypher.json +353 -0
- package/grammars/d.json +3185 -0
- package/grammars/dart.json +522 -0
- package/grammars/dax.json +185 -0
- package/grammars/diff.json +155 -0
- package/grammars/docker.json +97 -0
- package/grammars/dream-maker.json +640 -0
- package/grammars/elixir.json +1014 -0
- package/grammars/elm.json +751 -0
- package/grammars/erb.json +156 -0
- package/grammars/erlang.json +1757 -0
- package/grammars/fish.json +189 -0
- package/grammars/fsharp.json +1831 -0
- package/grammars/gdresource.json +290 -0
- package/grammars/gdscript.json +969 -0
- package/grammars/gdshader.json +405 -0
- package/grammars/gherkin.json +133 -0
- package/grammars/git-commit.json +85 -0
- package/grammars/git-rebase.json +56 -0
- package/grammars/glimmer-js.json +98 -0
- package/grammars/glimmer-ts.json +98 -0
- package/grammars/glsl.json +57 -0
- package/grammars/gnuplot.json +892 -0
- package/grammars/go.json +1012 -0
- package/grammars/graphql.json +1295 -0
- package/grammars/groovy.json +1378 -0
- package/grammars/hack.json +2650 -0
- package/grammars/haml.json +598 -0
- package/grammars/handlebars.json +848 -0
- package/grammars/haskell.json +2431 -0
- package/grammars/hcl.json +787 -0
- package/grammars/hjson.json +821 -0
- package/grammars/hlsl.json +212 -0
- package/grammars/html.json +93 -0
- package/grammars/imba.json +2696 -0
- package/grammars/ini.json +108 -0
- package/grammars/java.json +1885 -0
- package/grammars/javascript.json +5984 -0
- package/grammars/jinja-html.json +16 -0
- package/grammars/jinja.json +345 -0
- package/grammars/jison.json +715 -0
- package/grammars/jsdoc.json +21 -0
- package/grammars/json.json +208 -0
- package/grammars/json5.json +244 -0
- package/grammars/jsonc.json +208 -0
- package/grammars/jsonl.json +208 -0
- package/grammars/jsonnet.json +211 -0
- package/grammars/jssm.json +159 -0
- package/grammars/jsx.json +5984 -0
- package/grammars/julia.json +1061 -0
- package/grammars/kotlin.json +580 -0
- package/grammars/kusto.json +687 -0
- package/grammars/latex.json +2395 -0
- package/grammars/less.json +5012 -0
- package/grammars/liquid.json +990 -0
- package/grammars/lisp.json +121 -0
- package/grammars/logo.json +55 -0
- package/grammars/lua.json +956 -0
- package/grammars/make.json +629 -0
- package/grammars/markdown.json +3066 -0
- package/grammars/marko.json +1344 -0
- package/grammars/matlab.json +1131 -0
- package/grammars/mdc.json +571 -0
- package/grammars/mdx.json +5629 -0
- package/grammars/mermaid.json +1382 -0
- package/grammars/mojo.json +4153 -0
- package/grammars/narrat.json +227 -0
- package/grammars/nextflow.json +298 -0
- package/grammars/nginx.json +2121 -0
- package/grammars/nim.json +1522 -0
- package/grammars/nix.json +1200 -0
- package/grammars/nushell.json +1047 -0
- package/grammars/objective-c.json +3750 -0
- package/grammars/objective-cpp.json +7242 -0
- package/grammars/ocaml.json +2967 -0
- package/grammars/pascal.json +154 -0
- package/grammars/perl.json +2971 -0
- package/grammars/php.json +4024 -0
- package/grammars/plsql.json +241 -0
- package/grammars/postcss.json +377 -0
- package/grammars/powerquery.json +349 -0
- package/grammars/powershell.json +1024 -0
- package/grammars/prisma.json +443 -0
- package/grammars/prolog.json +298 -0
- package/grammars/proto.json +507 -0
- package/grammars/pug.json +1033 -0
- package/grammars/puppet.json +777 -0
- package/grammars/purescript.json +871 -0
- package/grammars/python.json +4208 -0
- package/grammars/r.json +637 -0
- package/grammars/raku.json +310 -0
- package/grammars/razor.json +1813 -0
- package/grammars/reg.json +136 -0
- package/grammars/rel.json +200 -0
- package/grammars/riscv.json +298 -0
- package/grammars/rst.json +734 -0
- package/grammars/ruby.json +2769 -0
- package/grammars/rust.json +1171 -0
- package/grammars/sas.json +302 -0
- package/grammars/sass.json +618 -0
- package/grammars/scala.json +1313 -0
- package/grammars/scheme.json +384 -0
- package/grammars/scss.json +1874 -0
- package/grammars/shaderlab.json +199 -0
- package/grammars/shellscript.json +2025 -0
- package/grammars/shellsession.json +33 -0
- package/grammars/smalltalk.json +235 -0
- package/grammars/solidity.json +1210 -0
- package/grammars/sparql.json +45 -0
- package/grammars/splunk.json +91 -0
- package/grammars/sql.json +631 -0
- package/grammars/ssh-config.json +88 -0
- package/grammars/stata.json +3050 -0
- package/grammars/stylus.json +1208 -0
- package/grammars/svelte.json +1171 -0
- package/grammars/swift.json +4203 -0
- package/grammars/system-verilog.json +1063 -0
- package/grammars/tasl.json +292 -0
- package/grammars/tcl.json +291 -0
- package/grammars/tex.json +281 -0
- package/grammars/toml.json +431 -0
- package/grammars/tsx.json +5984 -0
- package/grammars/turtle.json +261 -0
- package/grammars/twig.json +1394 -0
- package/grammars/typescript.json +5735 -0
- package/grammars/v.json +1001 -0
- package/grammars/vb.json +232 -0
- package/grammars/verilog.json +305 -0
- package/grammars/vhdl.json +1484 -0
- package/grammars/viml.json +445 -0
- package/grammars/vue-html.json +559 -0
- package/grammars/vue.json +1237 -0
- package/grammars/vyper.json +5415 -0
- package/grammars/wasm.json +831 -0
- package/grammars/wenyan.json +129 -0
- package/grammars/wgsl.json +391 -0
- package/grammars/wolfram.json +2370 -0
- package/grammars/xml.json +382 -0
- package/grammars/xsl.json +89 -0
- package/grammars/yaml.json +616 -0
- package/grammars/zenscript.json +257 -0
- package/grammars/zig.json +312 -0
- package/index.d.ts +18 -0
- package/index.js +2165 -0
- package/package.json +46 -0
|
@@ -0,0 +1,562 @@
|
|
|
1
|
+
{
|
|
2
|
+
"displayName": "Apache Conf",
|
|
3
|
+
"fileTypes": [
|
|
4
|
+
"conf",
|
|
5
|
+
"CONF",
|
|
6
|
+
"envvars",
|
|
7
|
+
"htaccess",
|
|
8
|
+
"HTACCESS",
|
|
9
|
+
"htgroups",
|
|
10
|
+
"HTGROUPS",
|
|
11
|
+
"htpasswd",
|
|
12
|
+
"HTPASSWD",
|
|
13
|
+
".htaccess",
|
|
14
|
+
".HTACCESS",
|
|
15
|
+
".htgroups",
|
|
16
|
+
".HTGROUPS",
|
|
17
|
+
".htpasswd",
|
|
18
|
+
".HTPASSWD"
|
|
19
|
+
],
|
|
20
|
+
"name": "apache",
|
|
21
|
+
"patterns": [
|
|
22
|
+
{
|
|
23
|
+
"captures": {
|
|
24
|
+
"1": {
|
|
25
|
+
"name": "punctuation.definition.comment.apacheconf"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"match": "^(\\s)*(#).*$\\n?",
|
|
29
|
+
"name": "comment.line.hash.ini"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"captures": {
|
|
33
|
+
"1": {
|
|
34
|
+
"name": "punctuation.definition.tag.apacheconf"
|
|
35
|
+
},
|
|
36
|
+
"2": {
|
|
37
|
+
"name": "entity.tag.apacheconf"
|
|
38
|
+
},
|
|
39
|
+
"4": {
|
|
40
|
+
"name": "string.value.apacheconf"
|
|
41
|
+
},
|
|
42
|
+
"5": {
|
|
43
|
+
"name": "punctuation.definition.tag.apacheconf"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"match": "(<)(Proxy|ProxyMatch|IfVersion|Directory|DirectoryMatch|Files|FilesMatch|IfDefine|IfModule|Limit|LimitExcept|Location|LocationMatch|VirtualHost|Macro|If|Else|ElseIf)(\\s(.+?))?(>)"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"captures": {
|
|
50
|
+
"1": {
|
|
51
|
+
"name": "punctuation.definition.tag.apacheconf"
|
|
52
|
+
},
|
|
53
|
+
"2": {
|
|
54
|
+
"name": "entity.tag.apacheconf"
|
|
55
|
+
},
|
|
56
|
+
"3": {
|
|
57
|
+
"name": "punctuation.definition.tag.apacheconf"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"match": "(</)(Proxy|ProxyMatch|IfVersion|Directory|DirectoryMatch|Files|FilesMatch|IfDefine|IfModule|Limit|LimitExcept|Location|LocationMatch|VirtualHost|Macro|If|Else|ElseIf)(>)"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"captures": {
|
|
64
|
+
"3": {
|
|
65
|
+
"name": "string.regexp.apacheconf"
|
|
66
|
+
},
|
|
67
|
+
"4": {
|
|
68
|
+
"name": "string.replacement.apacheconf"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"match": "(?<=(Rewrite(Rule|Cond)))\\s+(.+?)\\s+(.+?)($|\\s)"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"captures": {
|
|
75
|
+
"2": {
|
|
76
|
+
"name": "entity.status.apacheconf"
|
|
77
|
+
},
|
|
78
|
+
"3": {
|
|
79
|
+
"name": "string.regexp.apacheconf"
|
|
80
|
+
},
|
|
81
|
+
"5": {
|
|
82
|
+
"name": "string.path.apacheconf"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"match": "(?<=RedirectMatch)(\\s+(\\d\\d\\d|permanent|temp|seeother|gone))?\\s+(.+?)\\s+((.+?)($|\\s))?"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"captures": {
|
|
89
|
+
"2": {
|
|
90
|
+
"name": "entity.status.apacheconf"
|
|
91
|
+
},
|
|
92
|
+
"3": {
|
|
93
|
+
"name": "string.path.apacheconf"
|
|
94
|
+
},
|
|
95
|
+
"5": {
|
|
96
|
+
"name": "string.path.apacheconf"
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"match": "(?<=Redirect)(\\s+(\\d\\d\\d|permanent|temp|seeother|gone))?\\s+(.+?)\\s+((.+?)($|\\s))?"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"captures": {
|
|
103
|
+
"1": {
|
|
104
|
+
"name": "string.regexp.apacheconf"
|
|
105
|
+
},
|
|
106
|
+
"3": {
|
|
107
|
+
"name": "string.path.apacheconf"
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
"match": "(?<=ScriptAliasMatch|AliasMatch)\\s+(.+?)\\s+((.+?)\\s)?"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"captures": {
|
|
114
|
+
"1": {
|
|
115
|
+
"name": "string.path.apacheconf"
|
|
116
|
+
},
|
|
117
|
+
"3": {
|
|
118
|
+
"name": "string.path.apacheconf"
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"match": "(?<=RedirectPermanent|RedirectTemp|ScriptAlias|Alias)\\s+(.+?)\\s+((.+?)($|\\s))?"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"captures": {
|
|
125
|
+
"1": {
|
|
126
|
+
"name": "keyword.core.apacheconf"
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"match": "\\b(AcceptPathInfo|AccessFileName|AddDefaultCharset|AddOutputFilterByType|AllowEncodedSlashes|AllowOverride|AuthName|AuthType|CGIMapExtension|ContentDigest|DefaultType|Define|DocumentRoot|EnableMMAP|EnableSendfile|ErrorDocument|ErrorLog|FileETag|ForceType|HostnameLookups|IdentityCheck|Include(Optional)?|KeepAlive|KeepAliveTimeout|LimitInternalRecursion|LimitRequestBody|LimitRequestFields|LimitRequestFieldSize|LimitRequestLine|LimitXMLRequestBody|LogLevel|MaxKeepAliveRequests|Mutex|NameVirtualHost|Options|Require|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScriptInterpreterSource|ServerAdmin|ServerAlias|ServerName|ServerPath|ServerRoot|ServerSignature|ServerTokens|SetHandler|SetInputFilter|SetOutputFilter|Time(O|o)ut|TraceEnable|UseCanonicalName|Use|ErrorLogFormat|GlobalLog|PHPIniDir|SSLHonorCipherOrder|SSLCompression|SSLUseStapling|SSLStapling\\w+|SSLCARevocationCheck|SSLSRPVerifierFile|SSLSessionTickets|RequestReadTimeout|ProxyHTML\\w+|MaxRanges)\\b"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"captures": {
|
|
133
|
+
"1": {
|
|
134
|
+
"name": "keyword.mpm.apacheconf"
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"match": "\\b(AcceptMutex|AssignUserID|BS2000Account|ChildPerUserID|CoreDumpDirectory|EnableExceptionHook|Group|Listen|ListenBacklog|LockFile|MaxClients|MaxConnectionsPerChild|MaxMemFree|MaxRequestsPerChild|MaxRequestsPerThread|MaxRequestWorkers|MaxSpareServers|MaxSpareThreads|MaxThreads|MaxThreadsPerChild|MinSpareServers|MinSpareThreads|NumServers|PidFile|ReceiveBufferSize|ScoreBoardFile|SendBufferSize|ServerLimit|StartServers|StartThreads|ThreadLimit|ThreadsPerChild|ThreadStackSize|User|Win32DisableAcceptEx)\\b"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"captures": {
|
|
141
|
+
"1": {
|
|
142
|
+
"name": "keyword.access.apacheconf"
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
"match": "\\b(Allow|Deny|Order)\\b"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"captures": {
|
|
149
|
+
"1": {
|
|
150
|
+
"name": "keyword.actions.apacheconf"
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"match": "\\b(Action|Script)\\b"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"captures": {
|
|
157
|
+
"1": {
|
|
158
|
+
"name": "keyword.alias.apacheconf"
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
"match": "\\b(Alias|AliasMatch|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ScriptAlias|ScriptAliasMatch)\\b"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"captures": {
|
|
165
|
+
"1": {
|
|
166
|
+
"name": "keyword.auth.apacheconf"
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
"match": "\\b(AuthAuthoritative|AuthGroupFile|AuthUserFile|AuthBasicProvider|AuthBasicFake|AuthBasicAuthoritative|AuthBasicUseDigestAlgorithm)\\b"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"captures": {
|
|
173
|
+
"1": {
|
|
174
|
+
"name": "keyword.auth_anon.apacheconf"
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
"match": "\\b(Anonymous|Anonymous_Authoritative|Anonymous_LogEmail|Anonymous_MustGiveEmail|Anonymous_NoUserID|Anonymous_VerifyEmail)\\b"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"captures": {
|
|
181
|
+
"1": {
|
|
182
|
+
"name": "keyword.auth_dbm.apacheconf"
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
"match": "\\b(AuthDBMAuthoritative|AuthDBMGroupFile|AuthDBMType|AuthDBMUserFile)\\b"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"captures": {
|
|
189
|
+
"1": {
|
|
190
|
+
"name": "keyword.auth_digest.apacheconf"
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
"match": "\\b(AuthDigestAlgorithm|AuthDigestDomain|AuthDigestFile|AuthDigestGroupFile|AuthDigestNcCheck|AuthDigestNonceFormat|AuthDigestNonceLifetime|AuthDigestQop|AuthDigestShmemSize|AuthDigestProvider)\\b"
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"captures": {
|
|
197
|
+
"1": {
|
|
198
|
+
"name": "keyword.auth_ldap.apacheconf"
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
"match": "\\b(AuthLDAPAuthoritative|AuthLDAPBindDN|AuthLDAPBindPassword|AuthLDAPCharsetConfig|AuthLDAPCompareDNOnServer|AuthLDAPDereferenceAliases|AuthLDAPEnabled|AuthLDAPFrontPageHack|AuthLDAPGroupAttribute|AuthLDAPGroupAttributeIsDN|AuthLDAPRemoteUserIsDN|AuthLDAPUrl)\\b"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"captures": {
|
|
205
|
+
"1": {
|
|
206
|
+
"name": "keyword.autoindex.apacheconf"
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
"match": "\\b(AddAlt|AddAltByEncoding|AddAltByType|AddDescription|AddIcon|AddIconByEncoding|AddIconByType|DefaultIcon|HeaderName|IndexIgnore|IndexOptions|IndexOrderDefault|IndexStyleSheet|IndexHeadInsert|ReadmeName)\\b"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"captures": {
|
|
213
|
+
"1": {
|
|
214
|
+
"name": "keyword.filter.apacheconf"
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
"match": "\\b(BalancerMember|BalancerGrowth|BalancerPersist|BalancerInherit)\\b"
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"captures": {
|
|
221
|
+
"1": {
|
|
222
|
+
"name": "keyword.cache.apacheconf"
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
"match": "\\b(CacheDefaultExpire|CacheDisable|CacheEnable|CacheForceCompletion|CacheIgnoreCacheControl|CacheIgnoreHeaders|CacheIgnoreNoLastMod|CacheLastModifiedFactor|CacheMaxExpire)\\b"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"captures": {
|
|
229
|
+
"1": {
|
|
230
|
+
"name": "keyword.cern_meta.apacheconf"
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
"match": "\\b(MetaDir|MetaFiles|MetaSuffix)\\b"
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"captures": {
|
|
237
|
+
"1": {
|
|
238
|
+
"name": "keyword.cgi.apacheconf"
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
"match": "\\b(ScriptLog|ScriptLogBuffer|ScriptLogLength)\\b"
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"captures": {
|
|
245
|
+
"1": {
|
|
246
|
+
"name": "keyword.cgid.apacheconf"
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
"match": "\\b(ScriptLog|ScriptLogBuffer|ScriptLogLength|ScriptSock)\\b"
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"captures": {
|
|
253
|
+
"1": {
|
|
254
|
+
"name": "keyword.charset_lite.apacheconf"
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
"match": "\\b(CharsetDefault|CharsetOptions|CharsetSourceEnc)\\b"
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"captures": {
|
|
261
|
+
"1": {
|
|
262
|
+
"name": "keyword.dav.apacheconf"
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
"match": "\\b(Dav|DavDepthInfinity|DavMinTimeout|DavLockDB)\\b"
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"captures": {
|
|
269
|
+
"1": {
|
|
270
|
+
"name": "keyword.deflate.apacheconf"
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
"match": "\\b(DeflateBufferSize|DeflateCompressionLevel|DeflateFilterNote|DeflateMemLevel|DeflateWindowSize)\\b"
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"captures": {
|
|
277
|
+
"1": {
|
|
278
|
+
"name": "keyword.dir.apacheconf"
|
|
279
|
+
}
|
|
280
|
+
},
|
|
281
|
+
"match": "\\b(DirectoryIndex|DirectorySlash|FallbackResource)\\b"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"captures": {
|
|
285
|
+
"1": {
|
|
286
|
+
"name": "keyword.disk_cache.apacheconf"
|
|
287
|
+
}
|
|
288
|
+
},
|
|
289
|
+
"match": "\\b(CacheDirLength|CacheDirLevels|CacheExpiryCheck|CacheGcClean|CacheGcDaily|CacheGcInterval|CacheGcMemUsage|CacheGcUnused|CacheMaxFileSize|CacheMinFileSize|CacheRoot|CacheSize|CacheTimeMargin)\\b"
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"captures": {
|
|
293
|
+
"1": {
|
|
294
|
+
"name": "keyword.dumpio.apacheconf"
|
|
295
|
+
}
|
|
296
|
+
},
|
|
297
|
+
"match": "\\b(DumpIOInput|DumpIOOutput)\\b"
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"captures": {
|
|
301
|
+
"1": {
|
|
302
|
+
"name": "keyword.env.apacheconf"
|
|
303
|
+
}
|
|
304
|
+
},
|
|
305
|
+
"match": "\\b(PassEnv|SetEnv|UnsetEnv)\\b"
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"captures": {
|
|
309
|
+
"1": {
|
|
310
|
+
"name": "keyword.expires.apacheconf"
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
"match": "\\b(ExpiresActive|ExpiresByType|ExpiresDefault)\\b"
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"captures": {
|
|
317
|
+
"1": {
|
|
318
|
+
"name": "keyword.ext_filter.apacheconf"
|
|
319
|
+
}
|
|
320
|
+
},
|
|
321
|
+
"match": "\\b(ExtFilterDefine|ExtFilterOptions)\\b"
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"captures": {
|
|
325
|
+
"1": {
|
|
326
|
+
"name": "keyword.file_cache.apacheconf"
|
|
327
|
+
}
|
|
328
|
+
},
|
|
329
|
+
"match": "\\b(CacheFile|MMapFile)\\b"
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"captures": {
|
|
333
|
+
"1": {
|
|
334
|
+
"name": "keyword.filter.apacheconf"
|
|
335
|
+
}
|
|
336
|
+
},
|
|
337
|
+
"match": "\\b(AddOutputFilterByType|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace)\\b"
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"captures": {
|
|
341
|
+
"1": {
|
|
342
|
+
"name": "keyword.headers.apacheconf"
|
|
343
|
+
}
|
|
344
|
+
},
|
|
345
|
+
"match": "\\b(Header|RequestHeader)\\b"
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"captures": {
|
|
349
|
+
"1": {
|
|
350
|
+
"name": "keyword.imap.apacheconf"
|
|
351
|
+
}
|
|
352
|
+
},
|
|
353
|
+
"match": "\\b(ImapBase|ImapDefault|ImapMenu)\\b"
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
"captures": {
|
|
357
|
+
"1": {
|
|
358
|
+
"name": "keyword.include.apacheconf"
|
|
359
|
+
}
|
|
360
|
+
},
|
|
361
|
+
"match": "\\b(SSIEndTag|SSIErrorMsg|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|XBitHack)\\b"
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"captures": {
|
|
365
|
+
"1": {
|
|
366
|
+
"name": "keyword.isapi.apacheconf"
|
|
367
|
+
}
|
|
368
|
+
},
|
|
369
|
+
"match": "\\b(ISAPIAppendLogToErrors|ISAPIAppendLogToQuery|ISAPICacheFile|ISAPIFakeAsync|ISAPILogNotSupported|ISAPIReadAheadBuffer)\\b"
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
"captures": {
|
|
373
|
+
"1": {
|
|
374
|
+
"name": "keyword.ldap.apacheconf"
|
|
375
|
+
}
|
|
376
|
+
},
|
|
377
|
+
"match": "\\b(LDAPCacheEntries|LDAPCacheTTL|LDAPConnectionTimeout|LDAPOpCacheEntries|LDAPOpCacheTTL|LDAPSharedCacheFile|LDAPSharedCacheSize|LDAPTrustedCA|LDAPTrustedCAType)\\b"
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
"captures": {
|
|
381
|
+
"1": {
|
|
382
|
+
"name": "keyword.log.apacheconf"
|
|
383
|
+
}
|
|
384
|
+
},
|
|
385
|
+
"match": "\\b(BufferedLogs|CookieLog|CustomLog|LogFormat|TransferLog|ForensicLog)\\b"
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
"captures": {
|
|
389
|
+
"1": {
|
|
390
|
+
"name": "keyword.mem_cache.apacheconf"
|
|
391
|
+
}
|
|
392
|
+
},
|
|
393
|
+
"match": "\\b(MCacheMaxObjectCount|MCacheMaxObjectSize|MCacheMaxStreamingBuffer|MCacheMinObjectSize|MCacheRemovalAlgorithm|MCacheSize)\\b"
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
"captures": {
|
|
397
|
+
"1": {
|
|
398
|
+
"name": "keyword.mime.apacheconf"
|
|
399
|
+
}
|
|
400
|
+
},
|
|
401
|
+
"match": "\\b(AddCharset|AddEncoding|AddHandler|AddInputFilter|AddLanguage|AddOutputFilter|AddType|DefaultLanguage|ModMimeUsePathInfo|MultiviewsMatch|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|TypesConfig)\\b"
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
"captures": {
|
|
405
|
+
"1": {
|
|
406
|
+
"name": "keyword.misc.apacheconf"
|
|
407
|
+
}
|
|
408
|
+
},
|
|
409
|
+
"match": "\\b(ProtocolEcho|Example|AddModuleInfo|MimeMagicFile|CheckSpelling|ExtendedStatus|SuexecUserGroup|UserDir)\\b"
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"captures": {
|
|
413
|
+
"1": {
|
|
414
|
+
"name": "keyword.negotiation.apacheconf"
|
|
415
|
+
}
|
|
416
|
+
},
|
|
417
|
+
"match": "\\b(CacheNegotiatedDocs|ForceLanguagePriority|LanguagePriority)\\b"
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
"captures": {
|
|
421
|
+
"1": {
|
|
422
|
+
"name": "keyword.nw_ssl.apacheconf"
|
|
423
|
+
}
|
|
424
|
+
},
|
|
425
|
+
"match": "\\b(NWSSLTrustedCerts|NWSSLUpgradeable|SecureListen)\\b"
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
"captures": {
|
|
429
|
+
"1": {
|
|
430
|
+
"name": "keyword.proxy.apacheconf"
|
|
431
|
+
}
|
|
432
|
+
},
|
|
433
|
+
"match": "\\b(AllowCONNECT|NoProxy|ProxyBadHeader|ProxyBlock|ProxyDomain|ProxyErrorOverride|ProxyFtpDirCharset|ProxyIOBufferSize|ProxyMaxForwards|ProxyPass|ProxyPassMatch|ProxyPassReverse|ProxyPreserveHost|ProxyReceiveBufferSize|ProxyRemote|ProxyRemoteMatch|ProxyRequests|ProxyTimeout|ProxyVia)\\b"
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
"captures": {
|
|
437
|
+
"1": {
|
|
438
|
+
"name": "keyword.rewrite.apacheconf"
|
|
439
|
+
}
|
|
440
|
+
},
|
|
441
|
+
"match": "\\b(RewriteBase|RewriteCond|RewriteEngine|RewriteLock|RewriteLog|RewriteLogLevel|RewriteMap|RewriteOptions|RewriteRule)\\b"
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
"captures": {
|
|
445
|
+
"1": {
|
|
446
|
+
"name": "keyword.setenvif.apacheconf"
|
|
447
|
+
}
|
|
448
|
+
},
|
|
449
|
+
"match": "\\b(BrowserMatch|BrowserMatchNoCase|SetEnvIf|SetEnvIfNoCase)\\b"
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"captures": {
|
|
453
|
+
"1": {
|
|
454
|
+
"name": "keyword.so.apacheconf"
|
|
455
|
+
}
|
|
456
|
+
},
|
|
457
|
+
"match": "\\b(LoadFile|LoadModule)\\b"
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
"captures": {
|
|
461
|
+
"1": {
|
|
462
|
+
"name": "keyword.ssl.apacheconf"
|
|
463
|
+
}
|
|
464
|
+
},
|
|
465
|
+
"match": "\\b(SSLCACertificateFile|SSLCACertificatePath|SSLCARevocationFile|SSLCARevocationPath|SSLCertificateChainFile|SSLCertificateFile|SSLCertificateKeyFile|SSLCipherSuite|SSLEngine|SSLMutex|SSLOptions|SSLPassPhraseDialog|SSLProtocol|SSLProxyCACertificateFile|SSLProxyCACertificatePath|SSLProxyCARevocationFile|SSLProxyCARevocationPath|SSLProxyCipherSuite|SSLProxyEngine|SSLProxyMachineCertificateFile|SSLProxyMachineCertificatePath|SSLProxyProtocol|SSLProxyVerify|SSLProxyVerifyDepth|SSLRandomSeed|SSLRequire|SSLRequireSSL|SSLSessionCache|SSLSessionCacheTimeout|SSLUserName|SSLVerifyClient|SSLVerifyDepth|SSLInsecureRenegotiation|SSLOpenSSLConfCmd)\\b"
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
"captures": {
|
|
469
|
+
"1": {
|
|
470
|
+
"name": "keyword.substitute.apacheconf"
|
|
471
|
+
}
|
|
472
|
+
},
|
|
473
|
+
"match": "\\b(Substitute|SubstituteInheritBefore|SubstituteMaxLineLength)\\b"
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
"captures": {
|
|
477
|
+
"1": {
|
|
478
|
+
"name": "keyword.usertrack.apacheconf"
|
|
479
|
+
}
|
|
480
|
+
},
|
|
481
|
+
"match": "\\b(CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking)\\b"
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
"captures": {
|
|
485
|
+
"1": {
|
|
486
|
+
"name": "keyword.vhost_alias.apacheconf"
|
|
487
|
+
}
|
|
488
|
+
},
|
|
489
|
+
"match": "\\b(VirtualDocumentRoot|VirtualDocumentRootIP|VirtualScriptAlias|VirtualScriptAliasIP)\\b"
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
"captures": {
|
|
493
|
+
"1": {
|
|
494
|
+
"name": "keyword.php.apacheconf"
|
|
495
|
+
},
|
|
496
|
+
"3": {
|
|
497
|
+
"name": "entity.property.apacheconf"
|
|
498
|
+
},
|
|
499
|
+
"5": {
|
|
500
|
+
"name": "string.value.apacheconf"
|
|
501
|
+
}
|
|
502
|
+
},
|
|
503
|
+
"match": "\\b(php_value|php_flag|php_admin_value|php_admin_flag)\\b(\\s+(.+?)(\\s+(\".+?\"|.+?))?)?\\s"
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
"captures": {
|
|
507
|
+
"1": {
|
|
508
|
+
"name": "punctuation.variable.apacheconf"
|
|
509
|
+
},
|
|
510
|
+
"3": {
|
|
511
|
+
"name": "variable.env.apacheconf"
|
|
512
|
+
},
|
|
513
|
+
"4": {
|
|
514
|
+
"name": "variable.misc.apacheconf"
|
|
515
|
+
},
|
|
516
|
+
"5": {
|
|
517
|
+
"name": "punctuation.variable.apacheconf"
|
|
518
|
+
}
|
|
519
|
+
},
|
|
520
|
+
"match": "(%\\{)((HTTP_USER_AGENT|HTTP_REFERER|HTTP_COOKIE|HTTP_FORWARDED|HTTP_HOST|HTTP_PROXY_CONNECTION|HTTP_ACCEPT|REMOTE_ADDR|REMOTE_HOST|REMOTE_PORT|REMOTE_USER|REMOTE_IDENT|REQUEST_METHOD|SCRIPT_FILENAME|PATH_INFO|QUERY_STRING|AUTH_TYPE|DOCUMENT_ROOT|SERVER_ADMIN|SERVER_NAME|SERVER_ADDR|SERVER_PORT|SERVER_PROTOCOL|SERVER_SOFTWARE|TIME_YEAR|TIME_MON|TIME_DAY|TIME_HOUR|TIME_MIN|TIME_SEC|TIME_WDAY|TIME|API_VERSION|THE_REQUEST|REQUEST_URI|REQUEST_FILENAME|IS_SUBREQ|HTTPS)|(.*?))(\\})"
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
"captures": {
|
|
524
|
+
"1": {
|
|
525
|
+
"name": "entity.mime-type.apacheconf"
|
|
526
|
+
}
|
|
527
|
+
},
|
|
528
|
+
"match": "\\b((text|image|application|video|audio)/.+?)\\s"
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
"captures": {
|
|
532
|
+
"1": {
|
|
533
|
+
"name": "entity.helper.apacheconf"
|
|
534
|
+
}
|
|
535
|
+
},
|
|
536
|
+
"match": "\\b(?i)(export|from|unset|set|on|off)\\b"
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
"captures": {
|
|
540
|
+
"1": {
|
|
541
|
+
"name": "constant.numeric.integer.decimal.apacheconf"
|
|
542
|
+
}
|
|
543
|
+
},
|
|
544
|
+
"match": "\\b(\\d+)\\b"
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
"captures": {
|
|
548
|
+
"1": {
|
|
549
|
+
"name": "punctuation.definition.flag.apacheconf"
|
|
550
|
+
},
|
|
551
|
+
"2": {
|
|
552
|
+
"name": "string.flag.apacheconf"
|
|
553
|
+
},
|
|
554
|
+
"3": {
|
|
555
|
+
"name": "punctuation.definition.flag.apacheconf"
|
|
556
|
+
}
|
|
557
|
+
},
|
|
558
|
+
"match": "\\s(\\[)(.*?)(\\])\\s"
|
|
559
|
+
}
|
|
560
|
+
],
|
|
561
|
+
"scopeName": "source.apacheconf"
|
|
562
|
+
}
|