Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Don’t increase indent for ‘{}’.

This construct generally should not appear in code, but temporarily appears when typing auto-paired braces. It’s basically a workaround for that.
  • Loading branch information...
commit 421ef13a9135ee14f24b20ab11eaf104e7e826ae 1 parent 382ac92
Allan Odgaard sorbits authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 Preferences/Miscellaneous.plist
4 Preferences/Miscellaneous.plist
View
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>name</key>
@@ -11,7 +11,7 @@
<key>decreaseIndentPattern</key>
<string>^(.*\*/)?\s*\}[;\s]*$</string>
<key>increaseIndentPattern</key>
- <string>^.*(\{[^}"']*|\([^)"']*)$</string>
+ <string>^.*(\{\}?[^}"']*|\([^)"']*)$</string>
<key>smartTypingPairs</key>
<array>
<array>
Please sign in to comment.
Something went wrong with that request. Please try again.