-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMellanox Definitions.tmLanguage
130 lines (128 loc) · 3.53 KB
/
Mellanox Definitions.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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<?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>Config</string>
</array>
<key>name</key>
<string>Mellanox</string>
<key>patterns</key>
<array>
<dict>
<key>match</key>
<string>\#.*</string>
<key>name</key>
<string>comment.line.number-sign</string>
</dict>
<dict>
<key>match</key>
<string>\b([1-9]+[0-9]*|0)</string>
<key>name</key>
<string>constant.numeric.integer.decimal</string>
</dict>
<dict>
<key>match</key>
<string>\b(<|<\=|\=|>|>\=|<>|eq|ne|gt|ge|lt|le)\b</string>
<key>name</key>
<string>keyword.operator.comparison.python</string>
</dict>
<dict>
<key>match</key>
<string>\b(spanning-tree|protocol|interface|lacp|port-channel|vlan|vrf|ip|dcb|lldp|mlag-vip|hostname|logging|username|radius-server|aaa|snmp-server|banner|WARNING|or|flowcontrol|cli|ntp|web|ssh|mlag-channel-group|channel-group|switchport)\b</string>
<key>name</key>
<string>keyword.directive.module</string>
</dict>
<dict>
<key>begin</key>
<string>\b(description)\b</string>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>keyword.directive.nginx</string>
</dict>
</dict>
<key>end</key>
<string>\n</string>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>#values</string>
</dict>
</array>
<key>name</key>
<string>punctuation.definition.variable</string>
</dict>
<dict>
<key>match</key>
<string>\b(load-balance|mlag-port-channel|ethernet|name|name-server|bpdufilter)\b</string>
<key>name</key>
<string>support.function</string>
</dict>
<dict>
<key>match</key>
<string>\b(speed|mtu|receive|force|send|on|mode|active|hybrid|trunk|shutdown|lacp-individual)\b</string>
<key>name</key>
<string>punctuation.definition.variable</string>
</dict>
<dict>
<key>match</key>
<string>\b(disable|enable)\b</string>
<key>name</key>
<string>variable</string>
</dict>
<dict>
<key>match</key>
<string>\b(no)\b</string>
<key>name</key>
<string>support.function</string>
</dict>
<dict>
<key>begin</key>
<string>"</string>
<key>endCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.definition.string.end</string>
</dict>
</dict>
<key>beginCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.definition.string.begin</string>
</dict>
</dict>
<key>name</key>
<string>string.quoted.double.dosbatch</string>
<key>end</key>
<string>"</string>
</dict>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>punctuation.definition.comment.sql</string>
</dict>
</dict>
<key>match</key>
<string>(\*).*$\n?</string>
<key>name</key>
<string>comment.line.number-sign.sql</string>
</dict>
</array>
<key>scopeName</key>
<string>source.cos</string>
<key>uuid</key>
<string>1BA75B32-707C-11D9-A928-000D98989AF6</string>
</dict>
</plist>