aboutsummaryrefslogtreecommitdiff
path: root/snippets/go.snippets
diff options
context:
space:
mode:
authorclaw0ry <me@claw0ry.net>2025-01-02 14:14:33 +0100
committerclaw0ry <me@claw0ry.net>2025-01-02 14:14:33 +0100
commitfee24a656297b545fcc8899857243b3cdf3722e0 (patch)
tree5a1cd03bcfbcf2b9e55d28160a63f3987a089623 /snippets/go.snippets
parentvim: reorganize and add ultisnips (diff)
snippets: initial snippets
Diffstat (limited to 'snippets/go.snippets')
-rw-r--r--snippets/go.snippets17
1 files changed, 17 insertions, 0 deletions
diff --git a/snippets/go.snippets b/snippets/go.snippets
new file mode 100644
index 0000000..7707875
--- /dev/null
+++ b/snippets/go.snippets
@@ -0,0 +1,17 @@
+snippet cmt
+//-------------------------------------------------------------------------------
+// $1
+//
+// $2
+//-------------------------------------------------------------------------------
+
+$0
+endsnippet
+
+snippet scmt
+// -----------------------------------------------------------------------------
+// - $1 -
+// -----------------------------------------------------------------------------
+
+$0
+endsnippet