/Preferences/Indent.tmPreferences

http://github.com/osadchuk/Corona-SDK.tmbundle · Unknown · 19 lines · 19 code · 0 blank · 0 comment · 0 complexity · e50c069b033e9d6bc6db26b64cabe94a MD5 · raw file

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  3. <plist version="1.0">
  4. <dict>
  5. <key>name</key>
  6. <string>Indent</string>
  7. <key>scope</key>
  8. <string>source.lua</string>
  9. <key>settings</key>
  10. <dict>
  11. <key>decreaseIndentPattern</key>
  12. <string>^\s*(elseif.*|else|until.*|end|\}.*)\s*$</string>
  13. <key>increaseIndentPattern</key>
  14. <string>^\s*(?!\-\-)\s*(else|do|elseif|for|(local\s+|.*\s)?function|(local.*)?function|if|repeat|while)\b((?!\send\b).)*$|\{\s*$</string>
  15. </dict>
  16. <key>uuid</key>
  17. <string>411468A8-E0AC-415A-9E71-E2BD091EB571</string>
  18. </dict>
  19. </plist>