aboutsummaryrefslogtreecommitdiff
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
parentvim: reorganize and add ultisnips (diff)
snippets: initial snippets
-rw-r--r--snippets/go.snippets17
-rw-r--r--snippets/javascript.snippets17
-rw-r--r--snippets/ps1.snippets17
-rw-r--r--snippets/python.snippets17
-rw-r--r--snippets/terraform.snippets17
5 files changed, 85 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
diff --git a/snippets/javascript.snippets b/snippets/javascript.snippets
new file mode 100644
index 0000000..7707875
--- /dev/null
+++ b/snippets/javascript.snippets
@@ -0,0 +1,17 @@
+snippet cmt
+//-------------------------------------------------------------------------------
+// $1
+//
+// $2
+//-------------------------------------------------------------------------------
+
+$0
+endsnippet
+
+snippet scmt
+// -----------------------------------------------------------------------------
+// - $1 -
+// -----------------------------------------------------------------------------
+
+$0
+endsnippet
diff --git a/snippets/ps1.snippets b/snippets/ps1.snippets
new file mode 100644
index 0000000..d95f4dd
--- /dev/null
+++ b/snippets/ps1.snippets
@@ -0,0 +1,17 @@
+snippet cmt
+#-------------------------------------------------------------------------------
+# $1
+#
+# $2
+#-------------------------------------------------------------------------------
+
+$0
+endsnippet
+
+snippet scmt
+# -----------------------------------------------------------------------------
+# - $1 -
+# -----------------------------------------------------------------------------
+
+$0
+endsnippet
diff --git a/snippets/python.snippets b/snippets/python.snippets
new file mode 100644
index 0000000..d95f4dd
--- /dev/null
+++ b/snippets/python.snippets
@@ -0,0 +1,17 @@
+snippet cmt
+#-------------------------------------------------------------------------------
+# $1
+#
+# $2
+#-------------------------------------------------------------------------------
+
+$0
+endsnippet
+
+snippet scmt
+# -----------------------------------------------------------------------------
+# - $1 -
+# -----------------------------------------------------------------------------
+
+$0
+endsnippet
diff --git a/snippets/terraform.snippets b/snippets/terraform.snippets
new file mode 100644
index 0000000..d95f4dd
--- /dev/null
+++ b/snippets/terraform.snippets
@@ -0,0 +1,17 @@
+snippet cmt
+#-------------------------------------------------------------------------------
+# $1
+#
+# $2
+#-------------------------------------------------------------------------------
+
+$0
+endsnippet
+
+snippet scmt
+# -----------------------------------------------------------------------------
+# - $1 -
+# -----------------------------------------------------------------------------
+
+$0
+endsnippet