aboutsummaryrefslogtreecommitdiffstats
path: root/.vim/UltiSnips/go.snippets
diff options
context:
space:
mode:
authorkatherine <ageha@airen-no-jikken.icu>2021-07-26 21:29:18 -0700
committerkatherine <ageha@airen-no-jikken.icu>2021-07-26 21:29:18 -0700
commitcdcfd4522206f51c6ff20b2f1df8ea7ef2ac8620 (patch)
treed755295759790c1c4872dc4759dfe6344e5f34dd /.vim/UltiSnips/go.snippets
parent2680e47ecdcc8eb30a52eb330c4312df6e9ab4f7 (diff)
downloaddotfiles-cdcfd4522206f51c6ff20b2f1df8ea7ef2ac8620.tar.gz
add go snippets
Diffstat (limited to '.vim/UltiSnips/go.snippets')
-rw-r--r--.vim/UltiSnips/go.snippets9
1 files changed, 9 insertions, 0 deletions
diff --git a/.vim/UltiSnips/go.snippets b/.vim/UltiSnips/go.snippets
new file mode 100644
index 0000000..be1d61f
--- /dev/null
+++ b/.vim/UltiSnips/go.snippets
@@ -0,0 +1,9 @@
+priority -50
+
+snippet main "main() (main)"
+package main
+
+func main() {
+ ${VISUAL}$0
+}
+endsnippet