-
Notifications
You must be signed in to change notification settings - Fork 2
/
Indentation Rules.tmPreferences
40 lines (36 loc) · 1.06 KB
/
Indentation Rules.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
<?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>name</key>
<string>Indentation Rules</string>
<key>scope</key>
<string>source.ox</string>
<key>settings</key>
<dict>
<key>decreaseIndentPattern</key>
<string>(?x)
^ (.*\*/)? \s* \} .* $
| ^ \s* (public|private|protected): \s* $
| ^ \s* @(public|private|protected) \s* $
</string>
<key>increaseIndentPattern</key>
<string>(?x)
^ .* \{ [^}"']* $
| ^ \s* (public|private|protected): \s* $
| ^ \s* @(public|private|protected) \s* $
</string>
<key>bracketIndentNextLinePattern</key>
<string>(?x)
^ \s* \b(if|while|else)\b [^;]* $
| ^ \s* \b(for)\b .* $
</string>
<key>unIndentedLinePattern</key>
<string>^\s*((/\*|.*\*/|//|#|template\b.*?>(?!\(.*\))|@protocol|@interface(?!.*\{)|@implementation|@end).*)?$</string>
<key>indentSquareBrackets</key>
<true/>
</dict>
<key>uuid</key>
<string>8dbe946c-ce0a-4cef-9720-9c7413f1dc41</string>
</dict>
</plist>