Skip to content

Commit ba19f01

Browse files
committed
Update symbol list and split in two
Local symbol list has the entire head line of a block. Indexed symbol list is just the name label.
1 parent eb91404 commit ba19f01

2 files changed

Lines changed: 20 additions & 5 deletions

File tree

Symbols - Indexed.tmPreferences

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>name</key>
6+
<string>Local Symbol List</string>
7+
<key>scope</key>
8+
<string>
9+
entity.name.label
10+
</string>
11+
<key>settings</key>
12+
<dict>
13+
<key>showInIndexedSymbolList</key>
14+
<integer>1</integer>
15+
</dict>
16+
</dict>
17+
</plist>
Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<plist version="1.0">
44
<dict>
55
<key>name</key>
6-
<string>Symbol List</string>
6+
<string>Local Symbol List</string>
77
<key>scope</key>
88
<string>
99
meta.block.head.terraform
@@ -12,12 +12,10 @@
1212
<dict>
1313
<key>showInSymbolList</key>
1414
<integer>1</integer>
15-
<key>showInIndexedSymbolList</key>
16-
<integer>1</integer>
1715
<key>symbolTransformation</key>
1816
<string>
19-
<!-- Removes trailing whitespace and opening bracket from symbol. -->
20-
<![CDATA[/\s*{$//]]>
17+
<!-- Removes trailing whitespace from symbol. -->
18+
<![CDATA[/\s*$//]]>
2119
</string>
2220
</dict>
2321
</dict>

0 commit comments

Comments
 (0)