-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathINI.tmLanguage
127 lines (127 loc) · 2.81 KB
/
INI.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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<?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>ini</string>
<string>INI</string>
<string>inf</string>
<string>INF</string>
<string>reg</string>
<string>REG</string>
<string>lng</string>
<string>cfg</string>
<string>CFG</string>
<string>url</string>
<string>URL</string>
<string>.editorconfig</string>
</array>
<key>name</key>
<string>INI</string>
<key>patterns</key>
<array>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>punctuation.definition.comment.ini</string>
</dict>
</dict>
<key>match</key>
<string>^\s*(;|#).*$\n?</string>
<key>name</key>
<string>comment.line.semicolon.ini</string>
</dict>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>punctuation.definition.section.ini</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>entity.section.ini</string>
</dict>
<key>3</key>
<dict>
<key>name</key>
<string>punctuation.definition.section.ini</string>
</dict>
</dict>
<key>match</key>
<string>^\s*(\[)(.*?)(\])</string>
<key>name</key>
<string>meta.tag.section.ini</string>
</dict>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>meta.property.ini</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>punctuation.definition.quote.ini</string>
</dict>
<key>3</key>
<dict>
<key>name</key>
<string>keyword.name.ini</string>
</dict>
<key>4</key>
<dict>
<key>name</key>
<string>punctuation.definition.quote.ini</string>
</dict>
<key>5</key>
<dict>
<key>name</key>
<string>punctuation.definition.equals.ini</string>
</dict>
<key>6</key>
<dict>
<key>name</key>
<string>meta.value.ini</string>
</dict>
<key>7</key>
<dict>
<key>name</key>
<string>punctuation.definition.quote.ini</string>
</dict>
<key>8</key>
<dict>
<key>name</key>
<string>string.name.value.ini</string>
</dict>
<key>9</key>
<dict>
<key>name</key>
<string>punctuation.definition.quote.ini</string>
</dict>
<key>10</key>
<dict>
<key>name</key>
<string>comment.declarationline.semicolon.ini</string>
</dict>
</dict>
<key>match</key>
<string>^(\s*(["']?)(.+?)(\2)\s*(=))?\s*((["']?)(.*?)(\7))\s*(;.*)?$\n?</string>
<key>name</key>
<string>meta.declaration.ini</string>
</dict>
</array>
<key>scopeName</key>
<string>source.ini</string>
<key>uuid</key>
<string>957acd74-6d7c-4732-a25b-5f66a1e637cd</string>
</dict>
</plist>