+2
Highlight the colon as operator with Ruby 1.9-style hashes
When both keys and values are symbols, the colors all run together. A simple fix would be to not consume the colon in the regular expression. I was able to accomplish this by changing "(:)(?!:)" to "(?=:)(?!::)", as in:
<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>(?>[a-zA-Z_]\w*(?>[?!])?)(?=:)(?!::)</string>
<key>name</key>
<string>constant.other.symbol.ruby.19syntax</string>
</dict>
Customer support service by UserEcho
+1
I'm unsure where the downvote came from -- could anyone clarify? I've been using this for a while and have found it to be a definite improvement.