Skip to content

Commit

Permalink
Fix Indentation Regex
Browse files Browse the repository at this point in the history
Closes #2
  • Loading branch information
viluon committed Jun 15, 2016
1 parent 3b2b500 commit ae62136
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Indent.tmPreferences
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<key>settings</key>
<dict>
<key>decreaseIndentPattern</key>
<string>(^.*(?!.*(\"|\'|\[\=*\[))(elseif|else|end|until).*$|^((?!\{).)*\}\;?.*$)</string>
<string>(^(?!=.*(then|do).*).*(elseif|else|end|until)(?!.*(\"|\'|\[\=*\[)).*$|^((?!\{).)*\}\;?.*$)</string>

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

0 comments on commit ae62136

Please sign in to comment.