Skip to content

Commit

Permalink
Merging the two do .. end snippets into one superior version.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.textmate.org/trunk/Bundles/Ruby.tmbundle@8133 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information
JEG2 committed Sep 10, 2007
1 parent 333ff20 commit f1e2719
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 24 deletions.
20 changes: 0 additions & 20 deletions Snippets/do .. end.plist

This file was deleted.

6 changes: 3 additions & 3 deletions Snippets/do |obj| .. end (doo).plist
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>do |${1:object}|
<string>do${1/(^(?&lt;var&gt;\s*[a-z_][a-zA-Z0-9_]*\s*)(,\g&lt;var&gt;)*,?\s*$)|.*/(?1: |)/}${1:variable}${1/(^(?&lt;var&gt;\s*[a-z_][a-zA-Z0-9_]*\s*)(,\g&lt;var&gt;)*,?\s*$)|.*/(?1:|)/}
$0
end</string>
<key>name</key>
<string>Insert do |object| … end</string>
<string>Insert do |variable| … end</string>
<key>scope</key>
<string>source.ruby</string>
<key>tabTrigger</key>
<string>doo</string>
<string>do</string>
<key>uuid</key>
<string>4B72C5C3-6CA7-41AC-B2F9-51DEA25D469E</string>
</dict>
Expand Down
2 changes: 1 addition & 1 deletion info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
<string>667081DE-62C3-11D9-B8CF-000D93589AF6</string>
<string>66708259-62C3-11D9-B8CF-000D93589AF6</string>
<string>66708052-62C3-11D9-B8CF-000D93589AF6</string>
<string>6670881E-62C3-11D9-B8CF-000D93589AF6</string>
</array>
<key>description</key>
<string>Support for the &lt;a href="http://www.ruby-lang.org/"&gt;Ruby&lt;/a&gt; programming language.</string>
Expand Down Expand Up @@ -432,7 +433,6 @@
<string>667083EE-62C3-11D9-B8CF-000D93589AF6</string>
<string>48D8E498-C9A5-4B1B-9A18-71A5860276FB</string>
<string>4E9A7A73-875C-11D9-897C-000393CBCE2E</string>
<string>6670881E-62C3-11D9-B8CF-000D93589AF6</string>
<string>6670835F-62C3-11D9-B8CF-000D93589AF6</string>
<string>667082E6-62C3-11D9-B8CF-000D93589AF6</string>
<string>CD1609FA-47DA-4EE4-9C5B-5C56D953F5B1</string>
Expand Down

0 comments on commit f1e2719

Please sign in to comment.