Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Simplify comment.line match.

  • Loading branch information...
commit f855d76db13d74a8bf7489f4a7722654685756ea 1 parent a773d61
@infininight infininight authored
Showing with 14 additions and 6 deletions.
  1. +14 −6 Syntaxes/Ruby.plist
View
20 Syntaxes/Ruby.plist
@@ -1608,17 +1608,25 @@
<string>punctuation.whitespace.comment.leading.ruby</string>
</dict>
</dict>
- <key>contentName</key>
- <string>comment.line.number-sign.ruby</string>
<key>end</key>
- <string>(?!\G)^</string>
+ <string>(?!\G)</string>
<key>patterns</key>
<array>
<dict>
- <key>match</key>
- <string>\G#</string>
+ <key>begin</key>
+ <string>#</string>
+ <key>beginCaptures</key>
+ <dict>
+ <key>0</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.comment.ruby</string>
+ </dict>
+ </dict>
+ <key>end</key>
+ <string>\n</string>
<key>name</key>
- <string>punctuation.definition.comment.ruby</string>
+ <string>comment.line.number-sign.ruby</string>
</dict>
</array>
</dict>
Please sign in to comment.
Something went wrong with that request. Please try again.