Skip to content
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...
1 parent 7ad6913 commit 31e8b03b50f1e95c673d685fb5fc8b24a663782c @infininight infininight committed Aug 11, 2006
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>

0 comments on commit 31e8b03

Please sign in to comment.
Something went wrong with that request. Please try again.