Skip to content

Commit

Permalink
Merge pull request #16 from tinogomes/patch-1
Browse files Browse the repository at this point in the history
Highlight for symbol on Ruby 1.9
  • Loading branch information
drnic committed Jul 19, 2012
2 parents 2b1c2c1 + d57c917 commit 686d46d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Syntaxes/Ruby.plist
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -1566,6 +1566,22 @@
<key>name</key> <key>name</key>
<string>constant.other.symbol.ruby</string> <string>constant.other.symbol.ruby</string>
</dict> </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> <dict>
<key>begin</key> <key>begin</key>
<string>^=begin</string> <string>^=begin</string>
Expand Down

0 comments on commit 686d46d

Please sign in to comment.