aboutsummaryrefslogtreecommitdiffstats
path: root/.vim/UltiSnips/go.snippets
diff options
context:
space:
mode:
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