-
Notifications
You must be signed in to change notification settings - Fork 2
/
par.tmLanguage
executable file
·97 lines (97 loc) · 2.07 KB
/
par.tmLanguage
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>fileTypes</key>
<array>
<string>par</string>
</array>
<key>name</key>
<string>PAR</string>
<key>patterns</key>
<array>
<dict>
<key>comment</key>
<string>bitstring</string>
<key>match</key>
<string>\'[01]*\'B</string>
<key>name</key>
<string>string.quoted.single.par</string>
</dict>
<dict>
<key>comment</key>
<string>octetstring</string>
<key>match</key>
<string>\'([a-fA-F0-9][a-fA-F0-9])*\'O</string>
<key>name</key>
<string>string.quoted.single.par</string>
</dict>
<dict>
<key>comment</key>
<string>hexstring</string>
<key>match</key>
<string>\'[a-fA-F0-9]*\'H</string>
<key>name</key>
<string>string.quoted.single.par</string>
</dict>
<dict>
<key>comment</key>
<string>string</string>
<key>match</key>
<string>\"[^\"]*\"</string>
<key>name</key>
<string>string.quoted.double.par</string>
</dict>
<dict>
<key>comment</key>
<string>numeric</string>
<key>match</key>
<string>\b[\d+]+\b</string>
<key>name</key>
<string>constant.numeric.par</string>
</dict>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>support.type.par</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>support.variable.par</string>
</dict>
</dict>
<key>comment</key>
<string>numeric</string>
<key>match</key>
<string>(\w+)\.(\w+)</string>
</dict>
<dict>
<key>include</key>
<string>#comment</string>
</dict>
</array>
<key>repository</key>
<dict>
<key>comment</key>
<dict>
<key>patterns</key>
<array>
<dict>
<key>match</key>
<string>\#.*</string>
<key>name</key>
<string>comment.line.double-slash.par</string>
</dict>
</array>
</dict>
</dict>
<key>scopeName</key>
<string>source.par</string>
<key>uuid</key>
<string>77590f80-4b89-4efa-a1a5-0ca16869cff9</string>
</dict>
</plist>