Skip to content
Browse files

Improve punctuation scopes.

  • Loading branch information...
1 parent fe5f1c5 commit 64975e0629f8eb287cb0ca1872e4c9c970466f27 @infininight infininight committed Nov 12, 2011
Showing with 16 additions and 4 deletions.
  1. +16 −4 Syntaxes/Ruby.plist
View
20 Syntaxes/Ruby.plist
@@ -2289,15 +2289,27 @@
</dict>
<dict>
<key>match</key>
- <string>\{|\}</string>
+ <string>\{</string>
+ <key>name</key>
+ <string>punctuation.section.scope.begin.ruby</string>
+ </dict>
+ <dict>
+ <key>match</key>
+ <string>\}</string>
<key>name</key>
- <string>punctuation.section.scope.ruby</string>
+ <string>punctuation.section.scope.end.ruby</string>
</dict>
<dict>
<key>match</key>
- <string>\[|\]</string>
+ <string>\[</string>
+ <key>name</key>
+ <string>punctuation.section.array.begin.ruby</string>
+ </dict>
+ <dict>
+ <key>match</key>
+ <string>\]</string>
<key>name</key>
- <string>punctuation.section.array.ruby</string>
+ <string>punctuation.section.array.end.ruby</string>
</dict>
<dict>
<key>match</key>

0 comments on commit 64975e0

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