Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Support comments after a closing brace, and nested hashes.

  • Loading branch information...
commit 30d7001703fa534811dae6d7518350e3039f408a 1 parent c2297f5
@infininight infininight authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 Preferences/Miscellaneous.plist
View
4 Preferences/Miscellaneous.plist
@@ -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>
@@ -9,7 +9,7 @@
<key>settings</key>
<dict>
<key>decreaseIndentPattern</key>
- <string>^\s*([}\]]\s*$|(end|rescue|ensure|else|elsif|when)\b)</string>
+ <string>^\s*([}\]],?\s*(#|$)|(end|rescue|ensure|else|elsif|when)\b)</string>
<key>increaseIndentPattern</key>
<string>(?x)^
(\s*
Please sign in to comment.
Something went wrong with that request. Please try again.