Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove swallow line continuation usage in favor of a meta.line-contin…

…uation.gri rule.

git-svn-id: http://svn.textmate.org/trunk/Bundles/Gri.tmbundle@4674 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information...
commit 31e8b03b50f1e95c673d685fb5fc8b24a663782c 1 parent 7ad6913
@infininight infininight authored
Showing with 18 additions and 4 deletions.
  1. +18 −4 Syntaxes/Gri.plist
View
22 Syntaxes/Gri.plist
@@ -37,8 +37,15 @@
<string>$</string>
<key>name</key>
<string>comment.line.number-sign.gri</string>
- <key>swallow</key>
- <string>\\\s*\n</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>match</key>
+ <string>(?&gt;\\\s*\n)</string>
+ <key>name</key>
+ <string>meta.line-continuation.gri</string>
+ </dict>
+ </array>
</dict>
<dict>
<key>begin</key>
@@ -47,8 +54,15 @@
<string>$</string>
<key>name</key>
<string>comment.line.double-slash.gri</string>
- <key>swallow</key>
- <string>\\\s*\n</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>match</key>
+ <string>(?&gt;\\\s*\n)</string>
+ <key>name</key>
+ <string>meta.line-continuation.gri</string>
+ </dict>
+ </array>
</dict>
<dict>
<key>match</key>
Please sign in to comment.
Something went wrong with that request. Please try again.