Skip to content

Commit 53eb15d

Browse files
committed
• add preference to indent PHP functions (this looks nicer when these functions are part of a class) — patch from Alessandro Ranellucci
git-svn-id: http://svn.textmate.org/trunk/Bundles/PHP.tmbundle@5719 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
1 parent 45c35dc commit 53eb15d

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
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>Symbols List: Indent Functions</string>
7+
<key>scope</key>
8+
<string>entity.name.function.php</string>
9+
<key>settings</key>
10+
<dict>
11+
<key>symbolTransformation</key>
12+
<string>
13+
s/^/ /; # pad
14+
</string>
15+
</dict>
16+
<key>uuid</key>
17+
<string>5157F71C-2801-4385-92EA-3D0B72AEE7C5</string>
18+
</dict>
19+
</plist>

info.plist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@
122122
<string>306E5B79-8CD1-11D9-B507-000D93C8BE28</string>
123123
<string>40A7709D-8CD1-11D9-B507-000D93C8BE28</string>
124124
<string>22986475-8CA5-11D9-AEDD-000D93C8BE28</string>
125+
<string>5157F71C-2801-4385-92EA-3D0B72AEE7C5</string>
125126
<string>06276449-AA4E-424F-A2B6-9F4138416E50</string>
126127
<string>F15B444C-13E3-4A3C-83E1-4A6E0C1A84F3</string>
127128
</array>

0 commit comments

Comments
 (0)