This repository has been archived by the owner on Mar 10, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
WoWTOC.tmLanguage
84 lines (84 loc) · 2.22 KB
/
WoWTOC.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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>fileTypes</key>
<array>
<string>toc</string>
</array>
<key>name</key>
<string>World of Warcraft TOC</string>
<key>patterns</key>
<array>
<dict>
<key>begin</key>
<string>##</string>
<key>end</key>
<string>(:|\Z)</string>
<key>name</key>
<string>keyword.tag.toc</string>
<key>patterns</key>
<array>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>string.toc</string>
</dict>
</dict>
<key>match</key>
<string>[Xx]-([^:]+)</string>
<key>name</key>
<string>constant.language.tag.custom.toc</string>
</dict>
<dict>
<key>comment</key>
<string>localized title/description strings</string>
<key>match</key>
<string>(?i)(title-|notes-|description-)(enUS|enGB|frFR|deDE|esES|esMX|itIT|ptBR|ruRU|koKR|zhTW|zhCN)</string>
<key>name</key>
<string>constant.language.tag.localized.toc</string>
</dict>
<dict>
<key>comment</key>
<string>known acceptable tag strings</string>
<key>match</key>
<string>(?i)(interface|title|notes|description|requireddeps|\bdep[^:]+|optionaldeps|loadondemand|loadwith|loadmanagers|savedvariablespercharacter|savedvariables|defaultstate|secure|author|version)</string>
<key>name</key>
<string>constant.language.tag.known.toc</string>
</dict>
<dict>
<key>comment</key>
<string>Invalid tags highlight as syntax errors</string>
<key>match</key>
<string>\S[^:]+</string>
<key>name</key>
<string>invalid.tag.known.toc</string>
</dict>
</array>
</dict>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>comment.source.toc</string>
</dict>
</dict>
<key>comment</key>
<string>Comments</string>
<key>match</key>
<string>^#[^#]+$</string>
<key>name</key>
<string>comment.source.toc</string>
</dict>
</array>
<key>scopeName</key>
<string>source.toc</string>
<key>uuid</key>
<string>f3883b6b-18b0-47a0-8a74-c998a8425ff4</string>
</dict>
</plist>