Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #13 from tinogomes/master

More snippets
  • Loading branch information...
commit 1b3a8382d39d7c22fe14cabd4389a7317888ac48 2 parents fbc9b99 + 8673261
Ryan Bigg radar authored
16 Snippets/# encoding.tmSnippet
View
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string># encoding: utf-8$0</string>
+ <key>name</key>
+ <string># encoding</string>
+ <key>scope</key>
+ <string>source.ruby</string>
+ <key>tabTrigger</key>
+ <string>enc</string>
+ <key>uuid</key>
+ <string>D22A7FC0-D6F7-4796-BDCA-0E6DD7D10C49</string>
+</dict>
+</plist>
18 Snippets/String mult-lines.tmSnippet
View
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>&lt;&lt;-EOF
+ $0
+EOF</string>
+ <key>name</key>
+ <string>String mult-lines</string>
+ <key>scope</key>
+ <string>source.ruby</string>
+ <key>tabTrigger</key>
+ <string>&lt;&lt;</string>
+ <key>uuid</key>
+ <string>DFC28D4C-BCFF-486D-857F-4314DA981045</string>
+</dict>
+</plist>
18 Snippets/def initialize;end.tmSnippet
View
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>def initialize${1:(${2:*args})}
+ $0
+end</string>
+ <key>name</key>
+ <string>def initialize;end</string>
+ <key>scope</key>
+ <string>source.ruby</string>
+ <key>tabTrigger</key>
+ <string>defi</string>
+ <key>uuid</key>
+ <string>215F8FBE-5DE6-40FC-94A0-8E86E830A791</string>
+</dict>
+</plist>
18 Snippets/def self_method_missing __ end.tmSnippet
View
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>def self.method_missing(meth, *args, &amp;blk)
+ $0
+end</string>
+ <key>name</key>
+ <string>def self.method_missing .. end</string>
+ <key>scope</key>
+ <string>source.ruby</string>
+ <key>tabTrigger</key>
+ <string>defsmm</string>
+ <key>uuid</key>
+ <string>EE27ADAA-BC6B-49A0-91C2-2A4A35A98E46</string>
+</dict>
+</plist>
17 Snippets/private.tmSnippet
View
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>private
+</string>
+ <key>name</key>
+ <string>private</string>
+ <key>scope</key>
+ <string>source.ruby</string>
+ <key>tabTrigger</key>
+ <string>pri</string>
+ <key>uuid</key>
+ <string>14961368-DF6D-4895-8A60-A4DD631F801E</string>
+</dict>
+</plist>
17 Snippets/protected.tmSnippet
View
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>protected
+</string>
+ <key>name</key>
+ <string>protected</string>
+ <key>scope</key>
+ <string>source.ruby</string>
+ <key>tabTrigger</key>
+ <string>pro</string>
+ <key>uuid</key>
+ <string>1F339133-1ED2-45F3-800C-D45C747AF136</string>
+</dict>
+</plist>
16 Snippets/public.tmSnippet
View
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>public</string>
+ <key>name</key>
+ <string>public</string>
+ <key>scope</key>
+ <string>source.ruby</string>
+ <key>tabTrigger</key>
+ <string>pub</string>
+ <key>uuid</key>
+ <string>860DD10A-BC2B-453E-B3F6-39E989C45251</string>
+</dict>
+</plist>
2  Syntaxes/Ruby.plist
View
@@ -259,7 +259,7 @@
<key>comment</key>
<string>highlight annotation words</string>
<key>match</key>
- <string>^.*?\b(private|protected|public)\b$\n</string>
+ <string>^[\s]*?\b(private|protected|public)\b[\s]*$\n</string>
<key>name</key>
<string>keyword.other.annotation.ruby</string>
</dict>
27 info.plist
View
@@ -37,6 +37,7 @@
</array>
<key>items</key>
<array>
+ <string>E0E058FC-0DC3-4872-A1C2-0B1A322A0CF5</string>
<string>35222962-C50D-4D58-A6AE-71E7AD980BE4</string>
<string>5289EE40-86B8-11D9-A8D4-000A95E13C98</string>
<string>569C9822-8C41-4907-94C7-1A8A0031B66D</string>
@@ -58,6 +59,7 @@
<string>B297E4B8-A8FF-49CE-B9C4-6D4911724D43</string>
<string>FDFABCB9-DF58-4469-AE11-5407A4FF4D70</string>
<string>------------------------------------</string>
+ <string>B3875596-723C-41EE-9E6F-F84930C3B568</string>
<string>A1433C73-A475-4B9F-8B46-E182C588ED7D</string>
<string>D52AE6E7-DB75-46C9-94B0-F90B186BE1B2</string>
<string>B32BD8CF-903E-42D9-B1D3-44F88F262134</string>
@@ -66,7 +68,6 @@
<string>803A6BDF-D74A-4B69-AFF0-98B824AB478D</string>
<string>2765038A-1CFC-4BBD-B19C-6EB2B400D528</string>
<string>6A819296-4AFF-4CD2-AF37-DE2705AF1A1A</string>
- <string>228CAB3A-E221-4727-B430-31E94F76C9D3</string>
</array>
<key>submenus</key>
<dict>
@@ -142,6 +143,8 @@
<string>------------------------------------</string>
<string>FAFE9F5C-BF9C-4416-8623-2CB8EBC31B3C</string>
<string>005EB926-4BFE-4BFA-93B2-C9030636289C</string>
+ <string>------------------------------------</string>
+ <string>D22A7FC0-D6F7-4796-BDCA-0E6DD7D10C49</string>
</array>
<key>name</key>
<string>File</string>
@@ -252,6 +255,7 @@
<string>------------------------------------</string>
<string>E7A3BCF6-3594-453A-945D-4C5D81631CBF</string>
<string>B37B0E21-1B49-494A-BA56-367CF18DD0B2</string>
+ <string>DFC28D4C-BCFF-486D-857F-4314DA981045</string>
<string>451A0596-1F72-4AFB-AF2F-45900FABB0F7</string>
<string>------------------------------------</string>
<string>A05CBDD6-845D-45EB-94FB-F8787F5456BE</string>
@@ -259,6 +263,9 @@
<string>E16D24D2-CC7E-4786-BE0B-1725FC865D78</string>
<string>21C0D711-F32A-4665-AA0D-B136F9DD3945</string>
<string>49D69DEC-6991-49F4-8D9B-BA60BFDD3D17</string>
+ <string>14961368-DF6D-4895-8A60-A4DD631F801E</string>
+ <string>1F339133-1ED2-45F3-800C-D45C747AF136</string>
+ <string>860DD10A-BC2B-453E-B3F6-39E989C45251</string>
</array>
<key>name</key>
<string>Declarations</string>
@@ -308,7 +315,9 @@
<string>7F46C90A-595B-4B83-A4F7-058F63CE4218</string>
<string>------------------------------------</string>
<string>4E9A7A73-875C-11D9-897C-000393CBCE2E</string>
+ <string>215F8FBE-5DE6-40FC-94A0-8E86E830A791</string>
<string>7C6E88FA-CA0E-4110-8C75-A94E54286A75</string>
+ <string>EE27ADAA-BC6B-49A0-91C2-2A4A35A98E46</string>
<string>87D5F8AD-8DA6-4AED-A0D8-B51CAC980445</string>
<string>C44ED391-614F-4BA2-BB0F-87668EEA9954</string>
<string>4A6EFD6B-88E2-4822-AD48-03460EDBC796</string>
@@ -352,6 +361,7 @@
<key>items</key>
<array>
<string>31D1F145-33AB-4441-BA11-4D1C46928C4C</string>
+ <string>228CAB3A-E221-4727-B430-31E94F76C9D3</string>
<string>00F66D41-25AF-4597-B67D-E540965A5222</string>
<string>5297FD0C-98B1-4514-BBD1-1516810BECA6</string>
<string>------------------------------------</string>
@@ -507,6 +517,7 @@
<string>6C9D6B3D-D8E9-4606-9534-577C8D21FFF6</string>
<string>7F46C90A-595B-4B83-A4F7-058F63CE4218</string>
<string>7C6E88FA-CA0E-4110-8C75-A94E54286A75</string>
+ <string>EE27ADAA-BC6B-49A0-91C2-2A4A35A98E46</string>
<string>87D5F8AD-8DA6-4AED-A0D8-B51CAC980445</string>
<string>C44ED391-614F-4BA2-BB0F-87668EEA9954</string>
<string>4A6EFD6B-88E2-4822-AD48-03460EDBC796</string>
@@ -630,17 +641,9 @@
<string>6D75102B-6E51-4360-8F12-BE12327B6AE6</string>
<string>AEDD6A5F-417F-4177-8589-B07518ACA9DE</string>
<string>1A7701FA-D866-498C-AD4C-7846538DB535</string>
- <string>8EBBB26F-980E-404E-8366-74E5772298F6</string>
- <string>397FA09F-A30F-4EE4-920C-318D5004EE97</string>
- <string>50C56AC8-48F3-42A0-AF10-8164464AFAEF</string>
- <string>C122CD92-DDBE-4869-9C7A-CC2B254C9411</string>
- <string>678BDB83-FBBD-4E8E-BE0B-E1A98AECB247</string>
- <string>05EE1046-5ED7-48F5-8693-1F066163B2F4</string>
- <string>34FEBB9F-73CD-4DD4-A0A3-1CF2A5E3DE78</string>
- <string>33969819-62C5-4E03-B824-C2337205F364</string>
- <string>A7BF14E6-59B1-42E5-8755-8A72BF13685E</string>
- <string>B2C3ADE8-E19E-4B87-9C6C-593D490114C7</string>
- <string>59E811FF-E722-46BE-8938-04713612FABB</string>
+ <string>14961368-DF6D-4895-8A60-A4DD631F801E</string>
+ <string>1F339133-1ED2-45F3-800C-D45C747AF136</string>
+ <string>860DD10A-BC2B-453E-B3F6-39E989C45251</string>
</array>
<key>uuid</key>
<string>467B298F-6227-11D9-BFB1-000D93589AF6</string>
Please sign in to comment.
Something went wrong with that request. Please try again.