-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathnlf.tmLanguage
74 lines (74 loc) · 2.14 KB
/
nlf.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
<?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>nlf</string>
<string>NLF</string>
</array>
<key>name</key>
<string>NSIS Language File</string>
<key>patterns</key>
<array>
<dict>
<key>match</key>
<string>^\s*#.*$\n?</string>
<key>name</key>
<string>comment.line.number-sign.nlf</string>
</dict>
<dict>
<key>match</key>
<string>\b((0(x|X)[0-9a-fA-F]+)|([0-9]+(\.[0-9]+)?))\b</string>
<key>name</key>
<string>constant.numeric.nlf</string>
</dict>
<dict>
<!-- $_CLICK -->
<key>match</key>
<string>(?i)\$_CLICK</string>
<key>name</key>
<string>variable.language.nlf</string>
</dict>
<dict>
<!-- $variable -->
<key>match</key>
<string>\$\w+</string>
<key>name</key>
<string>variable.other.nlf</string>
</dict>
<dict>
<!-- %s -->
<key>match</key>
<string>\%\w+</string>
<key>name</key>
<string>constant.language.nlf</string>
</dict>
<dict>
<!-- P&ress key -->
<key>match</key>
<string>(\w*?&\w+)</string>
<key>name</key>
<string>constant.language.nlf</string>
</dict>
<dict>
<!-- $(^NameDA) -->
<key>match</key>
<string>\$\([\w\.:\^-]+\)</string>
<key>name</key>
<string>constant.other.nlf</string>
</dict>
<dict>
<!-- \n \r \t -->
<key>match</key>
<string>\\.</string>
<key>name</key>
<string>constant.character.escape.nlf</string>
</dict>
</array>
<key>scopeName</key>
<string>source.nlf</string>
<key>uuid</key>
<string>146caef4-b46e-42e6-960e-2d7cc5e8817a</string>
</dict>
</plist>