Permalink
Browse files

Merge “Deferred Function Call” into “Deferred Call”.

  • Loading branch information...
1 parent 7d7e399 commit cf5c2528bb70747301a9e694b55ca376fa2f12c7 @mkhl mkhl committed with infininight Jul 4, 2012
Showing with 2 additions and 19 deletions.
  1. +2 −2 Snippets/Deferred Call.tmSnippet
  2. +0 −16 Snippets/Deferred Function Call.tmSnippet
  3. +0 −1 info.plist
@@ -3,9 +3,9 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>defer func(${1:params}) {
+ <string>defer ${1:func(${2:params}) {
${0:// body}
-}(${2:${1/(.+)?/(?1:values)/}})</string>
+\}(${3:${2/(.+)?/(?1:values)/}})}</string>
<key>name</key>
<string>Deferred Goroutine Call</string>
<key>scope</key>
@@ -1,16 +0,0 @@
-<?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>defer ${0:file.Close()}</string>
- <key>name</key>
- <string>Deferred Function Call</string>
- <key>scope</key>
- <string>source.go</string>
- <key>tabTrigger</key>
- <string>def</string>
- <key>uuid</key>
- <string>AA2A0BCD-98B2-4B31-9F54-4207073E201C</string>
-</dict>
-</plist>
View
@@ -171,7 +171,6 @@
<string>8C557B1F-C1C5-4FC3-830E-9D51DE6CFA5A</string>
<string>6B01E886-4CFA-476E-AE01-EFF406116978</string>
<string>92CF0E27-7ED9-4F9B-8061-DD2B38D22893</string>
- <string>AA2A0BCD-98B2-4B31-9F54-4207073E201C</string>
<string>18A04BC9-D37A-46B9-8C92-4E8D287A46E4</string>
<string>54394BD4-1FFE-440F-9D3D-2D44F3B1BCC6</string>
<string>0FC09B94-D4C1-4C21-8076-EE7075174926</string>

0 comments on commit cf5c252

Please sign in to comment.