forked from heyglen/network_tech
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cisco.nxos.indents.tmPreferences
87 lines (84 loc) · 4.08 KB
/
cisco.nxos.indents.tmPreferences
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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>name</key>
<string>Cisco NXOS Indents</string>
<key>scope</key>
<string>text.network.cisco.nxos</string>
<key>settings</key>
<dict>
<key>increaseIndentPattern</key>
<string>(?xi)
^\s*
(?:
(?:configure\s+terminal)|
(?:vlan\s+\d+)|
(?:
interface\s+
(?:
(?:ethernet)|
(?:port-channel)|
(?:vlan)
)
\s*
(?:\d+(?:/\d+)*(?:\.\d+)?)?
)|
(?:
interface\s+range\s+
(?:
(?:ethernet)|
(?:port-channel)
(?:vlan)
)
\s*
(?:\d+(?:/\d+)*(?:\.\d+)?)(?:-\d+)?
)|
(?:ip\s+access-list\s+\S+)|
(?:vrf\s+context\s+\S+)|
(?:hsrp\s+\d+(?:\s+ipv6)?)|
(?:
router\s+
(?:
(?:bgp)|
(?:ospf)|
(?:rip)|
(?:eigrp)
)
\s+\d+
)|
(?:vrf\s+\S+)|
(?:address-family\s+ipv[46]\s+unicast)|
(?:
neighbor\s+
(?:(?:(?:[0-2]?\d?\d)\.){3}(?:[0-2]?\d?\d))
)|
(?:
neighbor\s+
(?:(?:(?:(?:[0-9A-Fa-f]{1,4}:){7}(?:[0-9A-Fa-f]{1,4}|:))|(?:(?:[0-9A-Fa-f]{1,4}:){6}(?::[0-9A-Fa-f]{1,4}|(?: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(?::[0-9A-Fa-f]{1,4}){1,7})|(?:(?::[0-9A-Fa-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])(?:\.(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])){3}))|:)))(?:%.+)?)
)|
(?:line\s+vty\s+\d+\s+\d+)|
(?:
route-map\s+\S+\s+
(?:
(?:permit)|
(?:deny)
)
\s+\d+1
)
)
\s*(?:[#!].*)?$
</string>
<key>decreaseIndentPattern</key>
<string>(?xi)
^\s*
(?:
(?:exit)|
(?:exit-address-family)|
(?:end)
)
\s*(?:[#!].*)?$
</string>
</dict>
</dict>
</plist>