Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 Preferences/Miscellaneous.plist
4 Preferences/Miscellaneous.plist
... ... @@ -1,5 +1,5 @@
1 1 <?xml version="1.0" encoding="UTF-8"?>
2   -<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  2 +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3 3 <plist version="1.0">
4 4 <dict>
5 5 <key>name</key>
@@ -11,7 +11,7 @@
11 11 <key>decreaseIndentPattern</key>
12 12 <string>^(.*\*/)?\s*\}[;\s]*$</string>
13 13 <key>increaseIndentPattern</key>
14   - <string>^.*(\{[^}"']*|\([^)"']*)$</string>
  14 + <string>^.*(\{\}?[^}"']*|\([^)"']*)$</string>
15 15 <key>smartTypingPairs</key>
16 16 <array>
17 17 <array>

0 comments on commit 421ef13

Please sign in to comment.
Something went wrong with that request. Please try again.