Skip to content

Commit 810425a

Browse files
authored
Add increaseIndentPattern/decreaseIndentPattern settings (#46)
* Add increaseIndentPattern/decreaseIndentPattern settings * Address feedback * Fix the decreaseIndentPattern
1 parent 385c0f1 commit 810425a

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<plist version="1.0">
3+
<dict>
4+
<key>scope</key>
5+
<string>source.elixir</string>
6+
<key>settings</key>
7+
<dict>
8+
<key>decreaseIndentPattern</key>
9+
<string>^\s*([\}\]\)]\s*$|(after|else|catch|rescue|end)\b)</string>
10+
<key>increaseIndentPattern</key>
11+
<string>^\s*(after|else|catch|rescue|^.*(do|&lt;-|-&gt;|[\{\[\(]))\s*$</string>
12+
</dict>
13+
</dict>
14+
</plist>

0 commit comments

Comments
 (0)