github-linguist 4.8.11 → 4.8.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/grammars/source.autoit.json +153 -158
- data/grammars/source.dockerfile.json +78 -67
- data/grammars/source.gdscript.json +228 -233
- data/grammars/source.nginx.json +768 -882
- data/grammars/source.puppet.json +396 -429
- data/grammars/source.systemverilog.json +961 -1110
- data/grammars/text.dart-analysis-output.json +152 -67
- data/lib/linguist/version.rb +1 -1
- metadata +2 -2
data/grammars/source.nginx.json
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"
|
3
|
-
"file_extensions": [
|
2
|
+
"fileTypes": [
|
4
3
|
"conf.erb",
|
5
4
|
"conf",
|
6
5
|
"nginx.conf",
|
@@ -9,930 +8,817 @@
|
|
9
8
|
"scgi_params",
|
10
9
|
"uwsgi_params"
|
11
10
|
],
|
12
|
-
"
|
13
|
-
"
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
"match": "\\}",
|
30
|
-
"pop": true
|
31
|
-
},
|
32
|
-
{
|
33
|
-
"include": "main"
|
34
|
-
}
|
35
|
-
]
|
11
|
+
"foldingStartMarker": "\\{\\s*$",
|
12
|
+
"foldingStopMarker": "^\\s*\\}",
|
13
|
+
"keyEquivalent": "^~N",
|
14
|
+
"name": "nginx",
|
15
|
+
"patterns": [
|
16
|
+
{
|
17
|
+
"match": "\\#.*",
|
18
|
+
"name": "comment.line.number-sign"
|
19
|
+
},
|
20
|
+
{
|
21
|
+
"name": "meta.context.events.nginx",
|
22
|
+
"begin": "\\b(events) +\\{",
|
23
|
+
"end": "\\}",
|
24
|
+
"beginCaptures": {
|
25
|
+
"1": {
|
26
|
+
"name": "storage.type.context.nginx"
|
27
|
+
}
|
36
28
|
},
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
"include": "main"
|
52
|
-
}
|
53
|
-
]
|
29
|
+
"patterns": [
|
30
|
+
{
|
31
|
+
"include": "$self"
|
32
|
+
}
|
33
|
+
]
|
34
|
+
},
|
35
|
+
{
|
36
|
+
"name": "meta.context.http.nginx",
|
37
|
+
"begin": "\\b(http) +\\{",
|
38
|
+
"end": "\\}",
|
39
|
+
"beginCaptures": {
|
40
|
+
"1": {
|
41
|
+
"name": "storage.type.context.nginx"
|
42
|
+
}
|
54
43
|
},
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
"include": "main"
|
70
|
-
}
|
71
|
-
]
|
44
|
+
"patterns": [
|
45
|
+
{
|
46
|
+
"include": "$self"
|
47
|
+
}
|
48
|
+
]
|
49
|
+
},
|
50
|
+
{
|
51
|
+
"name": "meta.context.types.nginx",
|
52
|
+
"begin": "\\b(types) +\\{",
|
53
|
+
"end": "\\}",
|
54
|
+
"beginCaptures": {
|
55
|
+
"1": {
|
56
|
+
"name": "storage.type.context.nginx"
|
57
|
+
}
|
72
58
|
},
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
"include": "main"
|
88
|
-
}
|
89
|
-
]
|
59
|
+
"patterns": [
|
60
|
+
{
|
61
|
+
"include": "$self"
|
62
|
+
}
|
63
|
+
]
|
64
|
+
},
|
65
|
+
{
|
66
|
+
"name": "meta.context.server.nginx",
|
67
|
+
"begin": "\\b(server) +\\{",
|
68
|
+
"end": "\\}",
|
69
|
+
"beginCaptures": {
|
70
|
+
"1": {
|
71
|
+
"name": "storage.type.context.nginx"
|
72
|
+
}
|
90
73
|
},
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
]
|
74
|
+
"patterns": [
|
75
|
+
{
|
76
|
+
"include": "$self"
|
77
|
+
}
|
78
|
+
]
|
79
|
+
},
|
80
|
+
{
|
81
|
+
"name": "meta.context.location.nginx",
|
82
|
+
"begin": "\\b(location) +[\\^]?~[\\*]? +(.*?)\\{",
|
83
|
+
"end": "\\}",
|
84
|
+
"beginCaptures": {
|
85
|
+
"1": {
|
86
|
+
"name": "storage.type.context.location.nginx"
|
87
|
+
},
|
88
|
+
"2": {
|
89
|
+
"name": "string.regexp.nginx"
|
90
|
+
}
|
109
91
|
},
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
]
|
92
|
+
"patterns": [
|
93
|
+
{
|
94
|
+
"include": "$self"
|
95
|
+
}
|
96
|
+
]
|
97
|
+
},
|
98
|
+
{
|
99
|
+
"name": "meta.context.location.nginx",
|
100
|
+
"begin": "\\b(location) +(.*?)\\{",
|
101
|
+
"end": "\\}",
|
102
|
+
"beginCaptures": {
|
103
|
+
"1": {
|
104
|
+
"name": "storage.type.context.location.nginx"
|
105
|
+
},
|
106
|
+
"2": {
|
107
|
+
"name": "entity.name.context.location.nginx"
|
108
|
+
}
|
128
109
|
},
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
]
|
110
|
+
"patterns": [
|
111
|
+
{
|
112
|
+
"include": "$self"
|
113
|
+
}
|
114
|
+
]
|
115
|
+
},
|
116
|
+
{
|
117
|
+
"name": "meta.context.upstream.nginx",
|
118
|
+
"begin": "\\b(upstream) +(.*?)\\{",
|
119
|
+
"end": "\\}",
|
120
|
+
"beginCaptures": {
|
121
|
+
"1": {
|
122
|
+
"name": "storage.type.context.nginx"
|
123
|
+
},
|
124
|
+
"2": {
|
125
|
+
"name": "entity.name.context.location.nginx"
|
126
|
+
}
|
147
127
|
},
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
]
|
162
|
-
},
|
163
|
-
{
|
164
|
-
"match": "\\{",
|
165
|
-
"push": [
|
166
|
-
{
|
167
|
-
"meta_scope": "meta.block.nginx"
|
168
|
-
},
|
169
|
-
{
|
170
|
-
"match": "\\}",
|
171
|
-
"pop": true
|
172
|
-
},
|
173
|
-
{
|
174
|
-
"include": "main"
|
175
|
-
}
|
176
|
-
]
|
128
|
+
"patterns": [
|
129
|
+
{
|
130
|
+
"include": "$self"
|
131
|
+
}
|
132
|
+
]
|
133
|
+
},
|
134
|
+
{
|
135
|
+
"begin": "\\b(if) +\\(",
|
136
|
+
"end": "\\)",
|
137
|
+
"beginCaptures": {
|
138
|
+
"1": {
|
139
|
+
"name": "keyword.control.nginx"
|
140
|
+
}
|
177
141
|
},
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
142
|
+
"patterns": [
|
143
|
+
{
|
144
|
+
"include": "#values"
|
145
|
+
}
|
146
|
+
]
|
147
|
+
},
|
148
|
+
{
|
149
|
+
"name": "meta.block.nginx",
|
150
|
+
"begin": "\\{",
|
151
|
+
"end": "\\}",
|
152
|
+
"patterns": [
|
153
|
+
{
|
154
|
+
"include": "$self"
|
155
|
+
}
|
156
|
+
]
|
157
|
+
},
|
158
|
+
{
|
159
|
+
"begin": "\\b(daemon|env|debug_points|error_log|include|lock_file|master_process|pid|ssl_engine|timer_resolution|user|worker_cpu_affinity|worker_priority|worker_processes|worker_rlimit_core|worker_rlimit_nofile|worker_rlimit_sigpending|working_directory)\\b",
|
160
|
+
"captures": {
|
161
|
+
"1": {
|
162
|
+
"name": "keyword.directive.nginx"
|
163
|
+
}
|
195
164
|
},
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
"
|
200
|
-
}
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
"include": "values"
|
211
|
-
}
|
212
|
-
]
|
165
|
+
"end": ";",
|
166
|
+
"patterns": [
|
167
|
+
{
|
168
|
+
"include": "#values"
|
169
|
+
}
|
170
|
+
],
|
171
|
+
"name": "punctuation.definition.variable"
|
172
|
+
},
|
173
|
+
{
|
174
|
+
"begin": "\\b(accept_mutex|accept_mutex_delay|debug_connection|devpoll_changes|devpoll_events|epoll_events|kqueue_changes|kqueue_events|multi_accept|rtsig_signo|rtsig_overflow_events|rtsig_overflow_test|rtsig_overflow_threshold|use|worker_connections)\\b",
|
175
|
+
"captures": {
|
176
|
+
"1": {
|
177
|
+
"name": "keyword.directive.module.events.nginx"
|
178
|
+
}
|
213
179
|
},
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
"
|
218
|
-
}
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
"include": "values"
|
229
|
-
}
|
230
|
-
]
|
180
|
+
"end": ";",
|
181
|
+
"patterns": [
|
182
|
+
{
|
183
|
+
"include": "#values"
|
184
|
+
}
|
185
|
+
],
|
186
|
+
"name": "punctuation.definition.variable"
|
187
|
+
},
|
188
|
+
{
|
189
|
+
"begin": "\\b(aio|alias|chunked_transfer_encoding|client_body_in_file_only|client_body_in_single_buffer|client_body_buffer_size|client_body_temp_path|client_body_timeout|client_header_buffer_size|client_header_timeout|client_max_body_size|connection_pool_size|default_type|directio|error_page|if_modified_since|internal|keepalive_disable|keepalive_timeout|keepalive_requests|large_client_header_buffers|limit_except|limit_rate|limit_rate_after|lingering_close|lingering_time|lingering_timeout|listen|log_not_found|log_subrequest|msie_padding|msie_refresh|open_file_cache|open_file_cache_errors|open_file_cache_min_uses|open_file_cache_valid|optimize_server_names|port_in_redirect|post_action|recursive_error_pages|request_pool_size|reset_timedout_connection|resolver|resolver_timeout|root|satisfy|satisfy_any|send_timeout|sendfile|server_name|server_name_in_redirect|server_names_hash_max_size|server_names_hash_bucket_size|server_tokens|tcp_nodelay|tcp_nopush|try_files|types\\ |underscores_in_hashes|variables_hash_bucket_size|variables_hash_max_size|types_hash_max_size)\\b",
|
190
|
+
"captures": {
|
191
|
+
"1": {
|
192
|
+
"name": "keyword.directive.module.http.nginx"
|
193
|
+
}
|
231
194
|
},
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
"
|
236
|
-
}
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
"include": "values"
|
247
|
-
}
|
248
|
-
]
|
195
|
+
"end": ";",
|
196
|
+
"patterns": [
|
197
|
+
{
|
198
|
+
"include": "#values"
|
199
|
+
}
|
200
|
+
],
|
201
|
+
"name": "punctuation.definition.variable"
|
202
|
+
},
|
203
|
+
{
|
204
|
+
"begin": "\\b(set_real_ip_from|real_ip_recursive|real_ip_header)\\b",
|
205
|
+
"captures": {
|
206
|
+
"1": {
|
207
|
+
"name": "keyword.directive.module.http.realip.nginx"
|
208
|
+
}
|
249
209
|
},
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
"
|
254
|
-
}
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
"include": "values"
|
265
|
-
}
|
266
|
-
]
|
210
|
+
"end": ";",
|
211
|
+
"patterns": [
|
212
|
+
{
|
213
|
+
"include": "#values"
|
214
|
+
}
|
215
|
+
],
|
216
|
+
"name": "punctuation.definition.variable"
|
217
|
+
},
|
218
|
+
{
|
219
|
+
"begin": "\\b(allow|deny)\\b",
|
220
|
+
"captures": {
|
221
|
+
"1": {
|
222
|
+
"name": "keyword.directive.module.http.access.nginx"
|
223
|
+
}
|
267
224
|
},
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
"
|
272
|
-
}
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
"include": "values"
|
283
|
-
}
|
284
|
-
]
|
225
|
+
"end": ";",
|
226
|
+
"patterns": [
|
227
|
+
{
|
228
|
+
"include": "#values"
|
229
|
+
}
|
230
|
+
],
|
231
|
+
"name": "punctuation.definition.variable"
|
232
|
+
},
|
233
|
+
{
|
234
|
+
"begin": "\\b(auth_basic|auth_basic_user_file)\\b",
|
235
|
+
"captures": {
|
236
|
+
"1": {
|
237
|
+
"name": "keyword.directive.module.http.auth_basic.nginx"
|
238
|
+
}
|
285
239
|
},
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
"
|
290
|
-
}
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
"include": "values"
|
301
|
-
}
|
302
|
-
]
|
240
|
+
"end": ";",
|
241
|
+
"patterns": [
|
242
|
+
{
|
243
|
+
"include": "#values"
|
244
|
+
}
|
245
|
+
],
|
246
|
+
"name": "punctuation.definition.variable"
|
247
|
+
},
|
248
|
+
{
|
249
|
+
"begin": "\\b(autoindex|autoindex_exact_size|autoindex_localtime)\\b",
|
250
|
+
"captures": {
|
251
|
+
"1": {
|
252
|
+
"name": "keyword.directive.module.http.autoindex.nginx"
|
253
|
+
}
|
303
254
|
},
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
"
|
308
|
-
}
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
"include": "values"
|
319
|
-
}
|
320
|
-
]
|
255
|
+
"end": ";",
|
256
|
+
"patterns": [
|
257
|
+
{
|
258
|
+
"include": "#values"
|
259
|
+
}
|
260
|
+
],
|
261
|
+
"name": "punctuation.definition.variable"
|
262
|
+
},
|
263
|
+
{
|
264
|
+
"begin": "\\b(ancient_browser|ancient_browser_value|modern_browser|modern_browser_value)\\b",
|
265
|
+
"captures": {
|
266
|
+
"1": {
|
267
|
+
"name": "keyword.directive.module.http.browser.nginx"
|
268
|
+
}
|
321
269
|
},
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
"
|
326
|
-
}
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
"include": "values"
|
337
|
-
}
|
338
|
-
]
|
270
|
+
"end": ";",
|
271
|
+
"patterns": [
|
272
|
+
{
|
273
|
+
"include": "#values"
|
274
|
+
}
|
275
|
+
],
|
276
|
+
"name": "punctuation.definition.variable"
|
277
|
+
},
|
278
|
+
{
|
279
|
+
"begin": "\\b(charset|charset_map|override_charset|source_charset)\\b",
|
280
|
+
"captures": {
|
281
|
+
"1": {
|
282
|
+
"name": "keyword.directive.module.http.charset.nginx"
|
283
|
+
}
|
339
284
|
},
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
"
|
344
|
-
}
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
"include": "values"
|
355
|
-
}
|
356
|
-
]
|
285
|
+
"end": ";",
|
286
|
+
"patterns": [
|
287
|
+
{
|
288
|
+
"include": "#values"
|
289
|
+
}
|
290
|
+
],
|
291
|
+
"name": "punctuation.definition.variable"
|
292
|
+
},
|
293
|
+
{
|
294
|
+
"begin": "\\b(empty_gif)\\b",
|
295
|
+
"captures": {
|
296
|
+
"1": {
|
297
|
+
"name": "keyword.directive.module.http.empty_gif.nginx"
|
298
|
+
}
|
357
299
|
},
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
"
|
362
|
-
}
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
"include": "values"
|
373
|
-
}
|
374
|
-
]
|
300
|
+
"end": ";",
|
301
|
+
"patterns": [
|
302
|
+
{
|
303
|
+
"include": "#values"
|
304
|
+
}
|
305
|
+
],
|
306
|
+
"name": "punctuation.definition.variable"
|
307
|
+
},
|
308
|
+
{
|
309
|
+
"begin": "\\b(fastcgi_bind|fastcgi_buffer_size|fastcgi_buffers|fastcgi_cache|fastcgi_cache_key|fastcgi_cache_path|fastcgi_cache_methods|fastcgi_cache_min_uses|fastcgi_cache_use_stale|fastcgi_cache_valid|fastcgi_connect_timeout|fastcgi_index|fastcgi_hide_header|fastcgi_ignore_client_abort|fastcgi_ignore_headers|fastcgi_intercept_errors|fastcgi_max_temp_file_size|fastcgi_no_cache|fastcgi_next_upstream|fastcgi_param|fastcgi_pass|fastcgi_pass_header|fastcgi_pass_request_body|fastcgi_pass_request_headers|fastcgi_read_timeout|fastcgi_redirect_errors|fastcgi_send_timeout|fastcgi_split_path_info|fastcgi_store|fastcgi_store_access|fastcgi_temp_path)\\b",
|
310
|
+
"captures": {
|
311
|
+
"1": {
|
312
|
+
"name": "keyword.directive.module.http.fastcgi.nginx"
|
313
|
+
}
|
375
314
|
},
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
"
|
380
|
-
}
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
"include": "values"
|
391
|
-
}
|
392
|
-
]
|
315
|
+
"end": ";",
|
316
|
+
"patterns": [
|
317
|
+
{
|
318
|
+
"include": "#values"
|
319
|
+
}
|
320
|
+
],
|
321
|
+
"name": "punctuation.definition.variable"
|
322
|
+
},
|
323
|
+
{
|
324
|
+
"begin": "\\b(geo)\\b",
|
325
|
+
"captures": {
|
326
|
+
"1": {
|
327
|
+
"name": "keyword.directive.module.http.geo.nginx"
|
328
|
+
}
|
393
329
|
},
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
"
|
398
|
-
}
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
"include": "values"
|
409
|
-
}
|
410
|
-
]
|
330
|
+
"end": ";",
|
331
|
+
"patterns": [
|
332
|
+
{
|
333
|
+
"include": "#values"
|
334
|
+
}
|
335
|
+
],
|
336
|
+
"name": "punctuation.definition.variable"
|
337
|
+
},
|
338
|
+
{
|
339
|
+
"begin": "\\b(gzip|gzip_buffers|gzip_comp_level|gzip_disable|gzip_http_version|gzip_min_length|gzip_proxied|gzip_types|gzip_vary)\\b",
|
340
|
+
"captures": {
|
341
|
+
"1": {
|
342
|
+
"name": "keyword.directive.module.http.gzip.nginx"
|
343
|
+
}
|
411
344
|
},
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
"
|
416
|
-
}
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
"include": "values"
|
427
|
-
}
|
428
|
-
]
|
345
|
+
"end": ";",
|
346
|
+
"patterns": [
|
347
|
+
{
|
348
|
+
"include": "#values"
|
349
|
+
}
|
350
|
+
],
|
351
|
+
"name": "punctuation.definition.variable"
|
352
|
+
},
|
353
|
+
{
|
354
|
+
"begin": "\\b(gzip_static|gzip_disable|gzip_http_version|gzip_proxied|gzip_vary)\\b",
|
355
|
+
"captures": {
|
356
|
+
"1": {
|
357
|
+
"name": "keyword.directive.module.http.gzip_static.nginx"
|
358
|
+
}
|
429
359
|
},
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
"
|
434
|
-
}
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
"include": "values"
|
445
|
-
}
|
446
|
-
]
|
360
|
+
"end": ";",
|
361
|
+
"patterns": [
|
362
|
+
{
|
363
|
+
"include": "#values"
|
364
|
+
}
|
365
|
+
],
|
366
|
+
"name": "punctuation.definition.variable"
|
367
|
+
},
|
368
|
+
{
|
369
|
+
"begin": "\\b(add_header|expires)\\b",
|
370
|
+
"captures": {
|
371
|
+
"1": {
|
372
|
+
"name": "keyword.directive.module.http.headers.nginx"
|
373
|
+
}
|
447
374
|
},
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
"
|
452
|
-
}
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
"include": "values"
|
463
|
-
}
|
464
|
-
]
|
375
|
+
"end": ";",
|
376
|
+
"patterns": [
|
377
|
+
{
|
378
|
+
"include": "#values"
|
379
|
+
}
|
380
|
+
],
|
381
|
+
"name": "punctuation.definition.variable"
|
382
|
+
},
|
383
|
+
{
|
384
|
+
"begin": "\\b(index)\\b",
|
385
|
+
"captures": {
|
386
|
+
"1": {
|
387
|
+
"name": "keyword.directive.module.http.index.nginx"
|
388
|
+
}
|
465
389
|
},
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
390
|
+
"end": ";",
|
391
|
+
"patterns": [
|
392
|
+
{
|
393
|
+
"include": "#values"
|
394
|
+
}
|
395
|
+
],
|
396
|
+
"name": "punctuation.definition.variable"
|
397
|
+
},
|
398
|
+
{
|
399
|
+
"match": "\\b(limit_req_log_level|limit_req_zone|limit_req)\\b",
|
400
|
+
"captures": {
|
401
|
+
"1": {
|
402
|
+
"name": "keyword.directive.module.http.limit_req.nginx"
|
471
403
|
}
|
472
404
|
},
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
"
|
477
|
-
}
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
"include": "values"
|
488
|
-
}
|
489
|
-
]
|
405
|
+
"end": ";",
|
406
|
+
"patterns": [
|
407
|
+
{
|
408
|
+
"include": "#values"
|
409
|
+
}
|
410
|
+
],
|
411
|
+
"name": "punctuation.definition.variable"
|
412
|
+
},
|
413
|
+
{
|
414
|
+
"begin": "\\b(limit_zone|limit_conn|limit_conn_log_level)\\b",
|
415
|
+
"captures": {
|
416
|
+
"1": {
|
417
|
+
"name": "keyword.directive.module.http.limit_zone.nginx"
|
418
|
+
}
|
490
419
|
},
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
"
|
495
|
-
}
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
"include": "values"
|
506
|
-
}
|
507
|
-
]
|
420
|
+
"end": ";",
|
421
|
+
"patterns": [
|
422
|
+
{
|
423
|
+
"include": "#values"
|
424
|
+
}
|
425
|
+
],
|
426
|
+
"name": "punctuation.definition.variable"
|
427
|
+
},
|
428
|
+
{
|
429
|
+
"begin": "\\b(limit_conn_zone|limit_conn|limit_conn_log_level)\\b",
|
430
|
+
"captures": {
|
431
|
+
"1": {
|
432
|
+
"name": "keyword.directive.module.http.limit_conn.nginx"
|
433
|
+
}
|
508
434
|
},
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
"
|
513
|
-
}
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
"include": "values"
|
524
|
-
}
|
525
|
-
]
|
526
|
-
},
|
527
|
-
{
|
528
|
-
"match": "\\b(map) +(\\$[A-Za-z0-9\\_]+) +(\\$[A-Za-z0-9\\_]+) *\\{",
|
529
|
-
"captures": {
|
530
|
-
"1": "storage.type.context.nginx",
|
531
|
-
"2": "variable.other.nginx",
|
532
|
-
"3": "variable.other.nginx"
|
533
|
-
},
|
534
|
-
"push": [
|
535
|
-
{
|
536
|
-
"meta_scope": "meta.context.map.nginx"
|
537
|
-
},
|
538
|
-
{
|
539
|
-
"match": "\\}",
|
540
|
-
"pop": true
|
541
|
-
},
|
542
|
-
{
|
543
|
-
"include": "values"
|
544
|
-
},
|
545
|
-
{
|
546
|
-
"match": ";",
|
547
|
-
"scope": "punctuation.definition.map.nginx"
|
548
|
-
}
|
549
|
-
]
|
435
|
+
"end": ";",
|
436
|
+
"patterns": [
|
437
|
+
{
|
438
|
+
"include": "#values"
|
439
|
+
}
|
440
|
+
],
|
441
|
+
"name": "punctuation.definition.variable"
|
442
|
+
},
|
443
|
+
{
|
444
|
+
"begin": "\\b(access_log|log_format|open_log_file_cache)\\b",
|
445
|
+
"captures": {
|
446
|
+
"1": {
|
447
|
+
"name": "keyword.directive.module.http.log.nginx"
|
448
|
+
}
|
550
449
|
},
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
"
|
555
|
-
}
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
450
|
+
"end": ";",
|
451
|
+
"patterns": [
|
452
|
+
{
|
453
|
+
"include": "#values"
|
454
|
+
}
|
455
|
+
],
|
456
|
+
"name": "punctuation.definition.variable"
|
457
|
+
},
|
458
|
+
{
|
459
|
+
"name": "meta.context.map.nginx",
|
460
|
+
"begin": "\\b(map) +(\\$[A-Za-z0-9\\_]+) +(\\$[A-Za-z0-9\\_]+) *\\{",
|
461
|
+
"end": "\\}",
|
462
|
+
"beginCaptures": {
|
463
|
+
"1": {
|
464
|
+
"name": "storage.type.context.nginx"
|
465
|
+
},
|
466
|
+
"2": {
|
467
|
+
"name": "variable.other.nginx"
|
468
|
+
},
|
469
|
+
"3": {
|
470
|
+
"name": "variable.other.nginx"
|
471
|
+
}
|
568
472
|
},
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
"1": "keyword.directive.module.http.memcached.nginx"
|
473
|
+
"patterns": [
|
474
|
+
{
|
475
|
+
"include": "#values"
|
573
476
|
},
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
477
|
+
{
|
478
|
+
"match": ";",
|
479
|
+
"name": "punctuation.definition.map.nginx"
|
480
|
+
}
|
481
|
+
]
|
482
|
+
},
|
483
|
+
{
|
484
|
+
"begin": "\\b(map_hash_max_size|map_hash_bucket_size)\\b",
|
485
|
+
"captures": {
|
486
|
+
"1": {
|
487
|
+
"name": "keyword.directive.module.http.map.nginx"
|
488
|
+
}
|
586
489
|
},
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
"
|
591
|
-
}
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
"include": "values"
|
602
|
-
}
|
603
|
-
]
|
490
|
+
"end": ";",
|
491
|
+
"patterns": [
|
492
|
+
{
|
493
|
+
"include": "#values"
|
494
|
+
}
|
495
|
+
],
|
496
|
+
"name": "punctuation.definition.variable"
|
497
|
+
},
|
498
|
+
{
|
499
|
+
"begin": "\\b(memcached_pass|memcached_connect_timeout|memcached_read_timeout|memcached_send_timeout|memcached_buffer_size|memcached_next_upstream)\\b",
|
500
|
+
"captures": {
|
501
|
+
"1": {
|
502
|
+
"name": "keyword.directive.module.http.memcached.nginx"
|
503
|
+
}
|
604
504
|
},
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
"
|
609
|
-
}
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
"include": "values"
|
620
|
-
}
|
621
|
-
]
|
505
|
+
"end": ";",
|
506
|
+
"patterns": [
|
507
|
+
{
|
508
|
+
"include": "#values"
|
509
|
+
}
|
510
|
+
],
|
511
|
+
"name": "punctuation.definition.variable"
|
512
|
+
},
|
513
|
+
{
|
514
|
+
"begin": "\\b(proxy_bind|proxy_buffer_size|proxy_buffering|proxy_buffers|proxy_busy_buffers_size|proxy_cache|proxy_cache_bypass|proxy_cache_key|proxy_cache_methods|proxy_cache_min_uses|proxy_cache_path|proxy_cache_use_stale|proxy_cache_valid|proxy_connect_timeout|proxy_headers_hash_bucket_size|proxy_headers_hash_max_size|proxy_hide_header|proxy_ignore_client_abort|proxy_ignore_headers|proxy_intercept_errors|proxy_max_temp_file_size|proxy_method|proxy_next_upstream|proxy_no_cache|proxy_pass|proxy_http_version|proxy_pass_header|proxy_pass_request_body|proxy_pass_request_headers|proxy_redirect|proxy_read_timeout|proxy_redirect_errors|proxy_send_lowat|proxy_send_timeout|proxy_set_body|proxy_set_header|proxy_ssl_session_reuse|proxy_store|proxy_store_access|proxy_temp_file_write_size|proxy_temp_path|proxy_upstream_fail_timeout|proxy_upstream_max_fails)\\b",
|
515
|
+
"captures": {
|
516
|
+
"1": {
|
517
|
+
"name": "keyword.directive.module.http.proxy.nginx"
|
518
|
+
}
|
622
519
|
},
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
"
|
627
|
-
}
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
"include": "values"
|
638
|
-
}
|
639
|
-
]
|
520
|
+
"end": ";",
|
521
|
+
"patterns": [
|
522
|
+
{
|
523
|
+
"include": "#values"
|
524
|
+
}
|
525
|
+
],
|
526
|
+
"name": "punctuation.definition.variable"
|
527
|
+
},
|
528
|
+
{
|
529
|
+
"begin": "\\b(valid_referers)\\b",
|
530
|
+
"captures": {
|
531
|
+
"1": {
|
532
|
+
"name": "keyword.directive.module.http.referer.nginx"
|
533
|
+
}
|
640
534
|
},
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
"
|
645
|
-
}
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
"include": "values"
|
656
|
-
}
|
657
|
-
]
|
535
|
+
"end": ";",
|
536
|
+
"patterns": [
|
537
|
+
{
|
538
|
+
"include": "#values"
|
539
|
+
}
|
540
|
+
],
|
541
|
+
"name": "punctuation.definition.variable"
|
542
|
+
},
|
543
|
+
{
|
544
|
+
"begin": "\\b(rewrite_log|set|uninitialized_variable_warn)\\b",
|
545
|
+
"captures": {
|
546
|
+
"1": {
|
547
|
+
"name": "keyword.directive.module.http.rewrite.nginx"
|
548
|
+
}
|
658
549
|
},
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
"
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
{
|
674
|
-
"include": "values"
|
675
|
-
}
|
676
|
-
]
|
550
|
+
"end": ";",
|
551
|
+
"patterns": [
|
552
|
+
{
|
553
|
+
"include": "#values"
|
554
|
+
}
|
555
|
+
],
|
556
|
+
"name": "punctuation.definition.variable"
|
557
|
+
},
|
558
|
+
{
|
559
|
+
"begin": "\\b(break|return)\\b",
|
560
|
+
"captures": {
|
561
|
+
"1": {
|
562
|
+
"name": "support.function.module.http.rewrite.nginx"
|
563
|
+
}
|
677
564
|
},
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
"
|
682
|
-
}
|
683
|
-
|
684
|
-
|
685
|
-
|
686
|
-
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
|
694
|
-
|
565
|
+
"end": ";",
|
566
|
+
"patterns": [
|
567
|
+
{
|
568
|
+
"include": "#values"
|
569
|
+
}
|
570
|
+
],
|
571
|
+
"name": "punctuation.definition.variable"
|
572
|
+
},
|
573
|
+
{
|
574
|
+
"begin": "\\b(rewrite)\\b *(\".+?(?<!\\\\)\"|'.+?(?<!\\\\)'|((.+?)(?<!\\\\)\\s))",
|
575
|
+
"captures": {
|
576
|
+
"1": {
|
577
|
+
"name": "keyword.directive.module.http.rewrite.nginx"
|
578
|
+
},
|
579
|
+
"2": {
|
580
|
+
"name": "string.regexp.nginx"
|
581
|
+
}
|
695
582
|
},
|
696
|
-
|
697
|
-
|
698
|
-
|
699
|
-
"
|
700
|
-
}
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
|
709
|
-
|
710
|
-
"include": "values"
|
711
|
-
}
|
712
|
-
]
|
583
|
+
"end": ";",
|
584
|
+
"patterns": [
|
585
|
+
{
|
586
|
+
"include": "#values"
|
587
|
+
}
|
588
|
+
],
|
589
|
+
"name": "punctuation.definition.variable"
|
590
|
+
},
|
591
|
+
{
|
592
|
+
"begin": "\\b(scgi_bind|scgi_buffer_size|scgi_buffering|scgi_buffers|scgi_busy_buffers_size|scgi_cache|scgi_cache_bypass|scgi_cache_key|scgi_cache_methods|scgi_cache_min_uses|scgi_cache_path|scgi_cache_use_stale|scgi_cache_valid|scgi_connect_timeout|scgi_hide_header|scgi_ignore_client_abort|scgi_ignore_headers|scgi_intercept_errors|scgi_max_temp_file_size|scgi_next_upstream|scgi_no_cache|scgi_param|scgi_pass|scgi_pass_header|scgi_pass_request_body|scgi_pass_request_headers|scgi_read_timeout|scgi_send_timeout|scgi_store|scgi_store_access|scgi_temp_file_write_size|scgi_temp_path)\\b",
|
593
|
+
"captures": {
|
594
|
+
"1": {
|
595
|
+
"name": "keyword.directive.module.http.scgi.nginx"
|
596
|
+
}
|
713
597
|
},
|
714
|
-
|
715
|
-
|
716
|
-
|
717
|
-
"
|
718
|
-
}
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
|
727
|
-
|
728
|
-
"include": "values"
|
729
|
-
}
|
730
|
-
]
|
598
|
+
"end": ";",
|
599
|
+
"patterns": [
|
600
|
+
{
|
601
|
+
"include": "#values"
|
602
|
+
}
|
603
|
+
],
|
604
|
+
"name": "punctuation.definition.variable"
|
605
|
+
},
|
606
|
+
{
|
607
|
+
"begin": "\\b(split_clients)\\b",
|
608
|
+
"captures": {
|
609
|
+
"1": {
|
610
|
+
"name": "keyword.directive.module.http.split_clients.nginx"
|
611
|
+
}
|
731
612
|
},
|
732
|
-
|
733
|
-
|
734
|
-
|
735
|
-
"
|
736
|
-
}
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
|
742
|
-
|
743
|
-
|
744
|
-
|
745
|
-
|
746
|
-
"include": "values"
|
747
|
-
}
|
748
|
-
]
|
613
|
+
"end": ";",
|
614
|
+
"patterns": [
|
615
|
+
{
|
616
|
+
"include": "#values"
|
617
|
+
}
|
618
|
+
],
|
619
|
+
"name": "punctuation.definition.variable"
|
620
|
+
},
|
621
|
+
{
|
622
|
+
"begin": "\\b(ssi|ssi_silent_errors|ssi_types|ssi_value_length)\\b",
|
623
|
+
"captures": {
|
624
|
+
"1": {
|
625
|
+
"name": "keyword.directive.module.http.ssi.nginx"
|
626
|
+
}
|
749
627
|
},
|
750
|
-
|
751
|
-
|
752
|
-
|
753
|
-
"
|
754
|
-
}
|
755
|
-
|
756
|
-
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
|
761
|
-
|
762
|
-
|
763
|
-
|
764
|
-
"include": "values"
|
765
|
-
}
|
766
|
-
]
|
628
|
+
"end": ";",
|
629
|
+
"patterns": [
|
630
|
+
{
|
631
|
+
"include": "#values"
|
632
|
+
}
|
633
|
+
],
|
634
|
+
"name": "punctuation.definition.variable"
|
635
|
+
},
|
636
|
+
{
|
637
|
+
"begin": "\\b(ssl|ssl_certificate|ssl_certificate_key|ssl_client_certificate|ssl_dhparam|ssl_ciphers|ssl_crl|ssl_prefer_server_ciphers|ssl_protocols|ssl_verify_client|ssl_verify_depth|ssl_session_cache|ssl_session_timeout|ssl_engine)\\b",
|
638
|
+
"captures": {
|
639
|
+
"1": {
|
640
|
+
"name": "keyword.directive.module.http.ssl.nginx"
|
641
|
+
}
|
767
642
|
},
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
"
|
772
|
-
}
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
"include": "values"
|
783
|
-
}
|
784
|
-
]
|
643
|
+
"end": ";",
|
644
|
+
"patterns": [
|
645
|
+
{
|
646
|
+
"include": "#values"
|
647
|
+
}
|
648
|
+
],
|
649
|
+
"name": "punctuation.definition.variable"
|
650
|
+
},
|
651
|
+
{
|
652
|
+
"begin": "\\b(ip_hash|server)\\b",
|
653
|
+
"captures": {
|
654
|
+
"1": {
|
655
|
+
"name": "keyword.directive.module.http.upstream.nginx"
|
656
|
+
}
|
785
657
|
},
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
"
|
790
|
-
}
|
791
|
-
|
792
|
-
|
793
|
-
|
794
|
-
|
795
|
-
|
796
|
-
|
797
|
-
|
798
|
-
|
799
|
-
|
800
|
-
"include": "values"
|
801
|
-
}
|
802
|
-
]
|
658
|
+
"end": ";",
|
659
|
+
"patterns": [
|
660
|
+
{
|
661
|
+
"include": "#values"
|
662
|
+
}
|
663
|
+
],
|
664
|
+
"name": "punctuation.definition.variable"
|
665
|
+
},
|
666
|
+
{
|
667
|
+
"begin": "\\b(userid|userid_domain|userid_expires|userid_name|userid_p3p|userid_path|userid_service)\\b",
|
668
|
+
"captures": {
|
669
|
+
"1": {
|
670
|
+
"name": "keyword.directive.module.http.userid.nginx"
|
671
|
+
}
|
803
672
|
},
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
"
|
808
|
-
}
|
809
|
-
|
810
|
-
|
811
|
-
|
812
|
-
|
813
|
-
|
814
|
-
|
815
|
-
|
816
|
-
|
817
|
-
|
818
|
-
"include": "values"
|
819
|
-
}
|
820
|
-
]
|
673
|
+
"end": ";",
|
674
|
+
"patterns": [
|
675
|
+
{
|
676
|
+
"include": "#values"
|
677
|
+
}
|
678
|
+
],
|
679
|
+
"name": "punctuation.definition.variable"
|
680
|
+
},
|
681
|
+
{
|
682
|
+
"begin": "\\b(uwsgi_bind|uwsgi_buffer_size|uwsgi_buffering|uwsgi_buffers|uwsgi_busy_buffers_size|uwsgi_cache|uwsgi_cache_bypass|uwsgi_cache_key|uwsgi_cache_methods|uwsgi_cache_min_uses|uwsgi_cache_path|uwsgi_cache_use_stale|uwsgi_cache_valid|uwsgi_connect_timeout|uwsgi_hide_header|uwsgi_ignore_client_abort|uwsgi_ignore_headers|uwsgi_intercept_errors|uwsgi_max_temp_file_size|uwsgi_modifier1|uwsgi_modifier2|uwsgi_next_upstream|uwsgi_no_cache|uwsgi_param|uwsgi_pass|uwsgi_pass_header|uwsgi_pass_request_body|uwsgi_pass_request_headers|uwsgi_read_timeout|uwsgi_send_timeout|uwsgi_store|uwsgi_store_access|uwsgi_string|uwsgi_temp_file_write_size|uwsgi_temp_path)\\b",
|
683
|
+
"captures": {
|
684
|
+
"1": {
|
685
|
+
"name": "keyword.directive.module.http.uwsgi.nginx"
|
686
|
+
}
|
821
687
|
},
|
822
|
-
|
823
|
-
|
824
|
-
|
825
|
-
"
|
826
|
-
}
|
827
|
-
|
828
|
-
|
829
|
-
|
830
|
-
|
831
|
-
|
832
|
-
|
833
|
-
|
834
|
-
|
835
|
-
|
836
|
-
|
837
|
-
|
838
|
-
|
688
|
+
"end": ";",
|
689
|
+
"patterns": [
|
690
|
+
{
|
691
|
+
"include": "#values"
|
692
|
+
}
|
693
|
+
],
|
694
|
+
"name": "punctuation.definition.variable"
|
695
|
+
},
|
696
|
+
{
|
697
|
+
"begin": "\\b([a-zA-Z0-9\\_]+)\\s+",
|
698
|
+
"end": "(;|$)",
|
699
|
+
"patterns": [
|
700
|
+
{
|
701
|
+
"include": "#values"
|
702
|
+
}
|
703
|
+
],
|
704
|
+
"beginCaptures": {
|
705
|
+
"1": {
|
706
|
+
"name": "keyword.directive.module.unsupported.nginx"
|
707
|
+
}
|
839
708
|
},
|
840
|
-
|
841
|
-
|
842
|
-
|
843
|
-
|
844
|
-
|
845
|
-
"
|
846
|
-
|
847
|
-
|
848
|
-
|
849
|
-
|
850
|
-
|
851
|
-
|
852
|
-
|
853
|
-
|
854
|
-
|
855
|
-
|
856
|
-
|
857
|
-
|
858
|
-
|
859
|
-
|
860
|
-
|
861
|
-
|
862
|
-
|
863
|
-
|
864
|
-
|
865
|
-
|
866
|
-
|
867
|
-
"
|
868
|
-
}
|
869
|
-
|
870
|
-
|
871
|
-
|
872
|
-
|
873
|
-
|
874
|
-
|
875
|
-
|
876
|
-
|
877
|
-
|
878
|
-
|
879
|
-
|
880
|
-
|
881
|
-
|
882
|
-
|
883
|
-
|
884
|
-
|
885
|
-
|
886
|
-
|
887
|
-
|
888
|
-
|
889
|
-
|
890
|
-
|
891
|
-
|
892
|
-
|
893
|
-
|
894
|
-
|
895
|
-
|
896
|
-
|
897
|
-
|
898
|
-
|
899
|
-
|
900
|
-
|
901
|
-
|
902
|
-
|
903
|
-
|
904
|
-
|
905
|
-
|
906
|
-
|
907
|
-
|
908
|
-
|
909
|
-
|
910
|
-
|
911
|
-
|
912
|
-
|
913
|
-
|
914
|
-
|
915
|
-
|
916
|
-
|
917
|
-
|
918
|
-
|
919
|
-
|
920
|
-
|
921
|
-
|
922
|
-
|
923
|
-
|
924
|
-
|
925
|
-
|
926
|
-
|
927
|
-
|
928
|
-
|
929
|
-
|
930
|
-
|
931
|
-
|
932
|
-
|
933
|
-
|
934
|
-
|
935
|
-
|
936
|
-
|
937
|
-
|
709
|
+
"name": "punctuation.definition.variable"
|
710
|
+
},
|
711
|
+
{
|
712
|
+
"begin": "\\b(stub_status)\\b",
|
713
|
+
"captures": {
|
714
|
+
"1": {
|
715
|
+
"name": "keyword.directive.module.http.stub_status.nginx"
|
716
|
+
}
|
717
|
+
},
|
718
|
+
"end": ";",
|
719
|
+
"patterns": [
|
720
|
+
{
|
721
|
+
"include": "#values"
|
722
|
+
}
|
723
|
+
],
|
724
|
+
"name": "punctuation.definition.variable"
|
725
|
+
},
|
726
|
+
{
|
727
|
+
"begin": "\\b([a-z]+\\/[a-z0-9\\-\\.\\+]+)\\b",
|
728
|
+
"captures": {
|
729
|
+
"1": {
|
730
|
+
"name": "keyword.directive.module.http.nginx"
|
731
|
+
}
|
732
|
+
},
|
733
|
+
"end": ";",
|
734
|
+
"patterns": [
|
735
|
+
{
|
736
|
+
"include": "#values"
|
737
|
+
}
|
738
|
+
],
|
739
|
+
"name": "punctuation.definition.variable"
|
740
|
+
}
|
741
|
+
],
|
742
|
+
"repository": {
|
743
|
+
"variables": {
|
744
|
+
"patterns": [
|
745
|
+
{
|
746
|
+
"match": "(\\$[A-Za-z0-9\\_]+)\\b",
|
747
|
+
"name": "variable.other.nginx"
|
748
|
+
}
|
749
|
+
]
|
750
|
+
},
|
751
|
+
"values": {
|
752
|
+
"patterns": [
|
753
|
+
{
|
754
|
+
"include": "#variables"
|
755
|
+
},
|
756
|
+
{
|
757
|
+
"match": "[\\t ]([0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}|[0-9a-f:]+)(\\/[0-9]{2})?(?=[\\t ;])",
|
758
|
+
"captures": {
|
759
|
+
"1": {
|
760
|
+
"name": "string.ipaddress.nginx"
|
761
|
+
},
|
762
|
+
"2": {
|
763
|
+
"name": "constant.numeric.cidr.nginx"
|
764
|
+
}
|
765
|
+
}
|
766
|
+
},
|
767
|
+
{
|
768
|
+
"match": "[\\t ](=?[0-9][0-9\\.]*[bBkKmMgGtTsShHdD]?)(?=[\\t ;])",
|
769
|
+
"captures": {
|
770
|
+
"1": {
|
771
|
+
"name": "constant.numeric.nginx"
|
772
|
+
}
|
773
|
+
}
|
774
|
+
},
|
775
|
+
{
|
776
|
+
"match": "[\\t ](on|off|true|false)(?=[\\t ;])",
|
777
|
+
"name": "constant.language.nginx"
|
778
|
+
},
|
779
|
+
{
|
780
|
+
"match": "[\\t ](kqueue|rtsig|epoll|\\/dev\\/poll|select|poll|eventport|max|all|default_server|default|main|crit|error|debug|warn|notice|last)(?=[\\t ;])",
|
781
|
+
"name": "constant.language.nginx"
|
782
|
+
},
|
783
|
+
{
|
784
|
+
"match": "\\\\.*\\ |\\~\\*|\\~|\\!\\~\\*|\\!\\~",
|
785
|
+
"name": "string.regexp.nginx"
|
786
|
+
},
|
787
|
+
{
|
788
|
+
"match": "\\^.*?\\$",
|
789
|
+
"name": "string.regexp.nginx"
|
790
|
+
},
|
791
|
+
{
|
792
|
+
"begin": "\"",
|
793
|
+
"end": "\"",
|
794
|
+
"name": "string.quoted.double.nginx",
|
795
|
+
"patterns": [
|
796
|
+
{
|
797
|
+
"match": "\\\\\"",
|
798
|
+
"name": "constant.character.escape.nginx"
|
799
|
+
},
|
800
|
+
{
|
801
|
+
"include": "#variables"
|
802
|
+
}
|
803
|
+
]
|
804
|
+
},
|
805
|
+
{
|
806
|
+
"begin": "'",
|
807
|
+
"end": "'",
|
808
|
+
"name": "string.quoted.single.nginx",
|
809
|
+
"patterns": [
|
810
|
+
{
|
811
|
+
"match": "\\\\'",
|
812
|
+
"name": "constant.character.escape.nginx"
|
813
|
+
},
|
814
|
+
{
|
815
|
+
"include": "#variables"
|
816
|
+
}
|
817
|
+
]
|
818
|
+
}
|
819
|
+
]
|
820
|
+
}
|
821
|
+
},
|
822
|
+
"scopeName": "source.nginx",
|
823
|
+
"uuid": "0C04066A-12D2-43CA-8238-00A12CE4C12D"
|
938
824
|
}
|