Permalink
Browse files

Adding new punctuation scopes to various rules.

git-svn-id: http://svn.textmate.org/trunk/Bundles/Io.tmbundle@5471 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information...
1 parent b609986 commit d75e2e564a4a361dd2bdbe4bf48fdf9e10a072ff @infininight infininight committed Oct 14, 2006
Showing with 70 additions and 2 deletions.
  1. +58 −2 Syntaxes/Io.plist
  2. +12 −0 info.plist
View
@@ -53,20 +53,44 @@
<dict>
<key>begin</key>
<string>/\*</string>
+ <key>captures</key>
+ <dict>
+ <key>0</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.comment.io</string>
+ </dict>
+ </dict>
<key>end</key>
<string>\*/</string>
<key>name</key>
<string>comment.block.io</string>
</dict>
<dict>
+ <key>captures</key>
+ <dict>
+ <key>1</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.comment.io</string>
+ </dict>
+ </dict>
<key>match</key>
- <string>//.*$\n?</string>
+ <string>(//).*$\n?</string>
<key>name</key>
<string>comment.line.double-slash.io</string>
</dict>
<dict>
+ <key>captures</key>
+ <dict>
+ <key>1</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.comment.io</string>
+ </dict>
+ </dict>
<key>match</key>
- <string>#.*$\n?</string>
+ <string>(#).*$\n?</string>
<key>name</key>
<string>comment.line.number-sign.io</string>
</dict>
@@ -111,8 +135,24 @@
<dict>
<key>begin</key>
<string>"""</string>
+ <key>beginCaptures</key>
+ <dict>
+ <key>0</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.string.begin.io</string>
+ </dict>
+ </dict>
<key>end</key>
<string>"""</string>
+ <key>endCaptures</key>
+ <dict>
+ <key>0</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.string.end.io</string>
+ </dict>
+ </dict>
<key>name</key>
<string>string.quoted.triple.io</string>
<key>patterns</key>
@@ -128,8 +168,24 @@
<dict>
<key>begin</key>
<string>"</string>
+ <key>beginCaptures</key>
+ <dict>
+ <key>0</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.string.begin.io</string>
+ </dict>
+ </dict>
<key>end</key>
<string>"</string>
+ <key>endCaptures</key>
+ <dict>
+ <key>0</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.string.end.io</string>
+ </dict>
+ </dict>
<key>name</key>
<string>string.quoted.double.io</string>
<key>patterns</key>
View
@@ -31,8 +31,20 @@
<string>Io</string>
<key>ordering</key>
<array>
+ <string>937C187C-75F2-42F7-9AB8-972CBB9BABF5</string>
<string>0F687653-BF6D-4C2C-A75E-C9193E870BBC</string>
+ <string>6D6682F0-5C77-4581-B0C3-A732D5B0A93E</string>
+ <string>FEF230FE-43A6-423C-B9DF-D03E6066D1AC</string>
+ <string>57E40ECD-AC15-4AB8-89D4-C123CA0B164C</string>
+ <string>E195E70E-E46F-4B42-B70E-3CE744AA920E</string>
+ <string>7BEB3C8C-641B-4BEA-9F92-6594A8D448DD</string>
+ <string>D55B718A-71A6-41A0-98ED-07B72442DDE8</string>
+ <string>08A134DC-B1D9-42D3-AF5F-3E1061AD8827</string>
+ <string>086D0C3A-130F-4C93-B1E5-1522DDAF58FA</string>
+ <string>35D0E7C0-E396-4D8B-8361-89B88C3AFF0C</string>
<string>BD798537-3548-47F3-A6AB-7FB95C45DB83</string>
+ <string>9D0E390E-145F-48F8-944A-E1349337DABF</string>
+ <string>6131549E-7BD0-4AB3-AC12-4BD971BE95B0</string>
</array>
<key>uuid</key>
<string>527BB215-1332-4CC8-AC6B-68E692D1421C</string>

0 comments on commit d75e2e5

Please sign in to comment.