This repository has been archived by the owner on Apr 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathGoTemplate.tmLanguage
76 lines (63 loc) · 1.93 KB
/
GoTemplate.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
<?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>name</key>
<string>GoFeather (Template)</string>
<key>scopeName</key>
<string>source.go-template</string>
<key>fileTypes</key>
<array>
<string>gotemplate</string>
<string>gohtml</string>
<string>tmpl</string>
</array>
<key>author</key>
<string>https://github.com/frou</string>
<key>patterns</key>
<array>
<dict>
<key>name</key>
<string>comment.go-template</string>
<key>begin</key>
<string>{{/\*</string>
<key>end</key>
<string>\*/}}</string>
</dict>
<dict>
<key>match</key>
<string>({{(- )?)((else|end)|((if|else if|range|template|block|with|define)\s))?(.*?)(( -)?}})</string>
<key>name</key>
<string></string>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>support.go-template</string>
</dict>
<key>4</key>
<dict>
<key>name</key>
<string>keyword.go-template</string>
</dict>
<key>6</key>
<dict>
<key>name</key>
<string>keyword.go-template</string>
</dict>
<key>7</key>
<dict>
<key>name</key>
<string>markup.go-template</string>
</dict>
<key>8</key>
<dict>
<key>name</key>
<string>support.go-template</string>
</dict>
</dict>
</dict>
</array>
</dict>
</plist>