-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmarker.tmLanguage
More file actions
107 lines (107 loc) · 2.41 KB
/
marker.tmLanguage
File metadata and controls
107 lines (107 loc) · 2.41 KB
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>mr</string>
</array>
<key>name</key>
<string>Marker</string>
<key>patterns</key>
<array>
<dict>
<key>comment</key>
<string>key-value</string>
<key>match</key>
<string>([A-Za-z0-9]+(\-[A-Za-z0-9]+)+)</string>
<key>name</key>
<string>string.unquoted.marker</string>
</dict>
<dict>
<key>comment</key>
<string>Tab stops like $1, $2...</string>
<key>match</key>
<string>\d+</string>
<key>name</key>
<string>constant.numeric.marker</string>
</dict>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>support.function.marker</string>
</dict>
</dict>
<key>comment</key>
<string>Value type keyword</string>
<key>match</key>
<string>([\S]+\.(json|csv))</string>
<key>name</key>
<string>keyword.other.marker</string>
</dict>
<dict>
<key>comment</key>
<string>Value type keyword</string>
<key>match</key>
<string>^data[:]</string>
<key>name</key>
<string>keyword.other.marker</string>
</dict>
<dict>
<key>comment</key>
<string>Comments like</string>
<key>match</key>
<string>\#\s.*</string>
<key>name</key>
<string>comment.line.marker</string>
</dict>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>string.unquoted.marker</string>
</dict>
</dict>
<key>comment</key>
<string>key string value</string>
<key>match</key>
<string>\S+[:](\s[A-Za-z][\S\s]+)</string>
<key>name</key>
<string>entity.name.tag.marker</string>
</dict>
<dict>
<key>comment</key>
<string>Keys</string>
<key>match</key>
<string>^[a-zA-Z]*[:]</string>
<key>name</key>
<string>entity.name.tag.marker</string>
</dict>
<dict>
<key>comment</key>
<string>Keys</string>
<key>match</key>
<string>\#[^,;]*</string>
<key>name</key>
<string>entity.name.tag.marker</string>
</dict>
<dict>
<key>comment</key>
<string>Keys</string>
<key>match</key>
<string>\@[^,;]*</string>
<key>name</key>
<string>string.unquoted.marker</string>
</dict>
</array>
<key>scopeName</key>
<string>text.marker</string>
<key>uuid</key>
<string>b9dc6dbf-fab9-42ca-882f-6400acaa79cb</string>
</dict>
</plist>