-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathFGD.tmLanguage
107 lines (107 loc) · 3.32 KB
/
FGD.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
<?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>fgd</string>
<string>qc</string>
</array>
<key>foldingStartMarker</key>
<string>(?x)
/\*\*(?!\*)
|^(?![^{]*?//|[^{]*?/\*(?!.*?\*/.*?\{)).*?\{\s*($|//|/\*(?!.*?\*/.*\S))
</string>
<key>foldingStopMarker</key>
<string>(?<!\*)\*\*/|^\s*\}</string>
<key>name</key>
<string>FGD</string>
<key>patterns</key>
<array>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>punctuation.definition.comment.fgd</string>
</dict>
</dict>
<key>match</key>
<string>(//).*$\n?</string>
<key>name</key>
<string>comment.line.double-slash.fgd</string>
</dict>
<dict>
<key>begin</key>
<string>"""</string>
<key>beginCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.definition.string.begin.fgd</string>
</dict>
</dict>
<key>end</key>
<string>"""</string>
<key>endCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.definition.string.end.fgd</string>
</dict>
</dict>
<key>name</key>
<string>string.quoted.double.fgd</string>
</dict>
<dict>
<key>begin</key>
<string>"</string>
<key>beginCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.definition.string.begin.fgd</string>
</dict>
</dict>
<key>end</key>
<string>"</string>
<key>endCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.definition.string.end.fgd</string>
</dict>
</dict>
<key>name</key>
<string>string.quoted.double.fgd</string>
</dict>
<dict>
<key>match</key>
<string>\b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\.?[0-9]*)|(\.[0-9]+))((e|E)(\+|-)?[0-9]+)?)(L|l|UL|ul|u|U|F|f)?\b</string>
<key>name</key>
<string>constant.numeric.fgd</string>
</dict>
<dict>
<key>match</key>
<string>\b(?i)(integer|choices|string|flags|target_destination|target_source|color255|studio|sprite|sound|size)\b</string>
<key>name</key>
<string>storage.type.fgd</string>
</dict>
<dict>
<key>match</key>
<string>\$(alwayscollapse|animation|animblocksize|append|attachment|autocenter|bbox|body|bodygroup|bonemerge|calctransitions|cbox|cd|cdmaterials|cliptotextures|cmdlist|collapsebones|collisionjoints|collisionmodel|collisiontext|contents|continue|controller|declareanimation|declaresequence|definebone|definemacro|externaltextures|eyeposition|forcephonemecrossfade|forcereal|gamma|hbox|hboxset|hgroup|hierarchy|ikautoplaylock|ikchain|illumposition|include|includemodel|insertbone|jigglebone|jointcontents|jointsurfaceprop|keyvalues|limitrotation|lockbonelengths|lockdefinebones|lod|model|modelname|mostlyopaque|noforcedfade|obsolete|opaque|origin|popd|poseparameter|prepend|proceduralbones|pushd|realignbones|renamebone|renamematerial|root|scale|screenalign|sequence|skipboneinbbox|staticprop|surfaceprop|texturegroup|upaxis|weightlist|zbrush)\b</string>
<key>name</key>
<string>variable.language.fgd</string>
</dict>
</array>
<key>scopeName</key>
<string>source.fgd</string>
<key>uuid</key>
<string>8358ee91-9694-439a-8616-b2ea7642f5b8</string>
</dict>
</plist>