Skip to content
Browse files

Merge pull request #16 from tinogomes/patch-1

Highlight for symbol on Ruby 1.9
  • Loading branch information...
2 parents 2b1c2c1 + d57c917 commit 686d46d86deefafaa4077346f829ad335216ec94 @drnic committed Jul 18, 2012
Showing with 16 additions and 0 deletions.
  1. +16 −0 Syntaxes/Ruby.plist
View
16 Syntaxes/Ruby.plist
@@ -1567,6 +1567,22 @@
<string>constant.other.symbol.ruby</string>
</dict>
<dict>
+ <key>captures</key>
+ <dict>
+ <key>1</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.constant.ruby</string>
+ </dict>
+ </dict>
+ <key>comment</key>
+ <string>symbols</string>
+ <key>match</key>
+ <string>(?&lt;!:)(?&gt;[a-zA-Z_]\w*(?&gt;[?!]|=(?![&gt;=]))?|===?|&gt;[&gt;=]?|&lt;[&lt;=]?|&lt;=&gt;|[%&amp;`/\|]|\*\*?|=?~|[-+]@?|\[\]=?|@@?[a-zA-Z_]\w*)(:)</string>
+ <key>name</key>
+ <string>constant.other.symbol.ruby.19</string>
+ </dict>
+ <dict>
<key>begin</key>
<string>^=begin</string>
<key>captures</key>

0 comments on commit 686d46d

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