Skip to content

Commit

Permalink
Fix Indentation
Browse files Browse the repository at this point in the history
Indent settings were off when a string contained a Lua keyword.
  • Loading branch information
viluon committed May 30, 2016
1 parent cf29b84 commit 93f224f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Indent.tmPreferences
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
<key>settings</key>
<dict>
<key>decreaseIndentPattern</key>
<string>(^.*(elseif|else|end|until).*$|^((?!\{).)*\}\;?.*$)</string>
<string>(^.*(?!.*(\"|\'|\[\=*\[))(elseif|else|end|until).*$|^((?!\{).)*\}\;?.*$)</string>

<key>increaseIndentPattern</key>
<string>(^.*(else|(local\s+)?function|repeat)\b((?!end).)*$|^.*(do|then)\b((?!end).)*$|^.*\{((?!\}).)*$)</string>
<string>(^.*(else|(local\s+)?function|repeat)\b((?!\bend\b).)*$|^.*(do|then)\b((?!\bend\b).)*$|^.*\{((?!\}).)*$)</string>
</dict>
</dict>
</plist>

0 comments on commit 93f224f

Please sign in to comment.