mirror of
https://github.com/Reuh/sublime-candran.git
synced 2025-10-27 10:09:31 +00:00
16 lines
639 B
Text
16 lines
639 B
Text
<?xml version="1.0" encoding="UTF-8"?>
|
|
<plist version="1.0">
|
|
<dict>
|
|
<key>name</key>
|
|
<string>Indent</string>
|
|
<key>scope</key>
|
|
<string>source.candran</string>
|
|
<key>settings</key>
|
|
<dict>
|
|
<key>decreaseIndentPattern</key>
|
|
<string>(^\s*\b(elsei|elseif|else|end|until)\b.*$|^((?!\{).)*\}\;?.*$)</string>
|
|
<key>increaseIndentPattern</key>
|
|
<string>((^\s*\b(((local|let)?[\s\w=]+)?function|repeat|else|elseif|if|while)\b|^.*\b(do|then)\b|^.*([\(\,\=\[\{\+\-\*\/\^\%\&\|\:]|and|or|\/\/|\.\.|\>\>|\<\<)\s*(\(\)|\([A-Za-z_][A-Za-z0-9_]*[=,\)]))((?!\bend\b).)*$|^.*\{((?!\}).)*$)</string>
|
|
</dict>
|
|
</dict>
|
|
</plist>
|