forked from giom/ultraviolet
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mod_perl.syntax
50 lines (50 loc) · 2.2 KB
/
mod_perl.syntax
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---
name: mod_perl
fileTypes:
- conf
scopeName: source.apache-config.mod_perl
uuid: 6A616B03-1053-49BF-830F-0F4E63DB2447
foldingStartMarker: |-
^[ ]*(?x)
(<(?i:FilesMatch|Files|DirectoryMatch|Directory|LocationMatch|Location|VirtualHost|IfModule|IfDefine|Perl)\b.*?>
)
patterns:
- name: comment.block.documentation.apache-config.mod_perl
captures:
"0":
name: punctuation.definition.comment.mod_perl
begin: ^=
end: ^=cut
- name: support.constant.apache-config.mod_perl
match: \b(PerlAddVar|PerlConfigRequire|PerlLoadModule|PerlModule|PerlOptions|PerlPassEnv|PerlPostConfigRequire|PerlRequire|PerlSetEnv|PerlSetVar|PerlSwitches|SetHandler|PerlOpenLogsHandler|PerlPostConfigHandler|PerlChildInitHandler|PerlChildExitHandler|PerlPreConnectionHandler|PerlProcessConnectionHandler|PerlInputFilterHandler|PerlOutputFilterHandler|PerlSetInputFilter|PerlSetOutputFilter|PerlPostReadRequestHandler|PerlTransHandler|PerlMapToStorageHandler|PerlInitHandler|PerlHeaderParserHandler|PerlAccessHandler|PerlAuthenHandler|PerlAuthzHandler|PerlTypeHandler|PerlFixupHandler|PerlResponseHandler|PerlLogHandler|PerlCleanupHandler|PerlInterpStart|PerlInterpMax|PerlInterpMinSpare|PerlInterpMaxSpare|PerlInterpMaxRequests|PerlInterpScope|PerlTrace)\b
- name: support.constant.apache-config.mod_perl_1.mod_perl
match: \b(PerlHandler|PerlScript|PerlSendHeader|PerlSetupEnv|PerlTaintCheck|PerlWarn|PerlFreshRestart)\b
- name: meta.perl-section.apache-config.mod_perl
endCaptures:
"1":
name: meta.tag.apache-config
"2":
name: punctuation.definition.tag.apache-config
"3":
name: entity.name.tag.apache-config
"4":
name: punctuation.definition.tag.apache-config
begin: ^\s*((<)(Perl)(>))
beginCaptures:
"1":
name: meta.tag.apache-config
"2":
name: punctuation.definition.tag.apache-config
"3":
name: entity.name.tag.apache-config
"4":
name: punctuation.definition.tag.apache-config
end: ^\s*((</)(Perl)(>))
patterns:
- include: source.perl
- include: source.apache-config
foldingStopMarker: |-
^[ ]*(?x)
(</(?i:FilesMatch|Files|DirectoryMatch|Directory|LocationMatch|Location|VirtualHost|IfModule|IfDefine|Perl)>
)
keyEquivalent: ^~A