aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattn <mattn.jp@gmail.com>2013-09-03 16:55:32 +0900
committermattn <mattn.jp@gmail.com>2013-09-03 16:55:32 +0900
commitd1b69d9a9b9372ef56ae7ee91799e23f2ee9703b (patch)
tree6bf7cb4c0ae53c0986bf87bd5453a183228a5d1c
parenta3957f00af97fe090e2f01b2b503e7cbfe086295 (diff)
downloadvim-sonictemplate-d1b69d9a9b9372ef56ae7ee91799e23f2ee9703b.tar.gz
vim-sonictemplate-d1b69d9a9b9372ef56ae7ee91799e23f2ee9703b.tar.bz2
vim-sonictemplate-d1b69d9a9b9372ef56ae7ee91799e23f2ee9703b.zip
Add snip-defer.go
-rw-r--r--template/go/snip-defer.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/template/go/snip-defer.go b/template/go/snip-defer.go
new file mode 100644
index 0000000..d052b14
--- /dev/null
+++ b/template/go/snip-defer.go
@@ -0,0 +1,3 @@
+defer func() {
+ {{_cursor_}}
+}()