Skip to content

Commit

Permalink
Merge pull request #2 from jish/master
Browse files Browse the repository at this point in the history
add and improve snippets
  • Loading branch information
syscrusher committed Jun 24, 2014
2 parents c338ac8 + 6a7d7df commit 837db2d
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Snippets/Interface.tmSnippet
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<key>scope</key>
<string>source.go</string>
<key>tabTrigger</key>
<string>int</string>
<string>inte</string>
<key>uuid</key>
<string>96C65CC5-19C3-4B73-A66B-F9C80B98DE54</string>
</dict>
Expand Down
16 changes: 16 additions & 0 deletions Snippets/Printf.tmSnippet
Original file line number Diff line number Diff line change
@@ -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>fmt.Printf(${1:"${2:Hello World!}"}, $3)$0</string>
<key>name</key>
<string>Printf</string>
<key>scope</key>
<string>source.go</string>
<key>tabTrigger</key>
<string>fmt.</string>
<key>uuid</key>
<string>12AC27D2-4B5D-467D-AA52-1C8AACF753E7</string>
</dict>
</plist>
16 changes: 16 additions & 0 deletions Snippets/fmt_Println.tmSnippet
Original file line number Diff line number Diff line change
@@ -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>fmt.Println(${1:"${2:Hello World!}"})$0</string>
<key>name</key>
<string>Print line</string>
<key>scope</key>
<string>source.go</string>
<key>tabTrigger</key>
<string>fmt</string>
<key>uuid</key>
<string>F5E717F6-A08B-4766-B1D5-0E43C796FDE1</string>
</dict>
</plist>
3 changes: 3 additions & 0 deletions info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@
<string>0FC09B94-D4C1-4C21-8076-EE7075174926</string>
<string>0E515A1F-B6F7-4473-B4C6-D6485E7CD133</string>
<string>4B3F378E-D9E8-4CCB-B537-96099B406511</string>
<string>------------------------------------</string>
<string>F5E717F6-A08B-4766-B1D5-0E43C796FDE1</string>
<string>12AC27D2-4B5D-467D-AA52-1C8AACF753E7</string>
</array>
<key>name</key>
<string>Idioms</string>
Expand Down

0 comments on commit 837db2d

Please sign in to comment.