Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Highlight for symbol on Ruby 1.9 #16

Merged
merged 1 commit into from

2 participants

@tinogomes

highlight symbol at Hash on Ruby 1.9

{ key: "value" }

@drnic drnic merged commit 686d46d into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 19, 2012
  1. @tinogomes
This page is out of date. Refresh to see the latest.
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>
Something went wrong with that request. Please try again.