Skip to content

Commit

Permalink
• improve indentation pattern
Browse files Browse the repository at this point in the history
Previously keys were expected to be non-quoted, lowercase, not containing ‘.’, and have exactly one space to the left/right of the ‘=’ character. These restrictions have now been lifted.


git-svn-id: http://svn.textmate.org/trunk/Bundles/Property List.tmbundle@11561 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information
sorbits committed May 20, 2009
1 parent 1c8986c commit 85a64c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Preferences/Indentation Rules.tmPreferences
@@ -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>
Expand All @@ -11,7 +11,7 @@
<key>decreaseIndentPattern</key>
<string>^\s*(\}|\))</string>
<key>increaseIndentPattern</key>
<string>^\s*([a-z_-]+ = )?[{(](?!.*[)}][;,]?\s*$)</string>
<string>^\s*((["']?)[A-Za-z._-]+\2\s+=\s+)?[{(](?!.*[)}][;,]?\s*$)</string>
</dict>
<key>uuid</key>
<string>0473E42E-A64E-4D3E-B20B-BA66E0145BC4</string>
Expand Down

0 comments on commit 85a64c5

Please sign in to comment.