-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathC.tmLanguage.header
40 lines (40 loc) · 1.16 KB
/
C.tmLanguage.header
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
<?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>
<!-------------------------------------------
File Type Support
------------------------------------------->
<key>fileTypes</key>
<array>
<!-------------------------------------------
C File Type Support
------------------------------------------->
<string>c</string>
<string>h</string>
<!-------------------------------------------
C++ File Type Support
------------------------------------------->
<string>cpp</string>
<string>c</string>
<string>hpp</string>
<string>h</string>
</array>
<key>firstLineMatch</key>
<string>-[*]-( Mode:)? C -[*]-</string>
<key>foldingStartMarker</key>
<string>(?x)
/\*\*(?!\*)
|^(?![^{]*?//|[^{]*?/\*(?!.*?\*/.*?\{)).*?\{\s*($|//|/\*(?!.*?\*/.*\S))
</string>
<key>foldingStopMarker</key>
<string>(?<!\*)\*\*/|^\s*\}</string>
<key>keyEquivalent</key>
<string>^~C</string>
<!-----------------------------------------
Display Syntax As
------------------------------------------->
<key>name</key>
<string>C</string>
<key>patterns</key>
<array>