aboutsummaryrefslogtreecommitdiff
path: root/yasnippet/c-mode
diff options
context:
space:
mode:
Diffstat (limited to 'yasnippet/c-mode')
-rw-r--r--yasnippet/c-mode/bcom5
-rw-r--r--yasnippet/c-mode/com6
-rw-r--r--yasnippet/c-mode/ndef8
-rw-r--r--yasnippet/c-mode/ts8
-rw-r--r--yasnippet/c-mode/tu8
5 files changed, 35 insertions, 0 deletions
diff --git a/yasnippet/c-mode/bcom b/yasnippet/c-mode/bcom
new file mode 100644
index 0000000..9b74a91
--- /dev/null
+++ b/yasnippet/c-mode/bcom
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+# name: bcom
+# key: bcom
+# --
+/*! @brief $0 */ \ No newline at end of file
diff --git a/yasnippet/c-mode/com b/yasnippet/c-mode/com
new file mode 100644
index 0000000..66551f1
--- /dev/null
+++ b/yasnippet/c-mode/com
@@ -0,0 +1,6 @@
+
+# -*- mode: snippet -*-
+# name: com
+# key: com
+# --
+/*! $0 */ \ No newline at end of file
diff --git a/yasnippet/c-mode/ndef b/yasnippet/c-mode/ndef
new file mode 100644
index 0000000..838829c
--- /dev/null
+++ b/yasnippet/c-mode/ndef
@@ -0,0 +1,8 @@
+# -*- mode: snippet -*-
+# name: ndef
+# key: ndef
+# --
+#ifndef $1
+#define $1
+$0
+#endif /* $1 */
diff --git a/yasnippet/c-mode/ts b/yasnippet/c-mode/ts
new file mode 100644
index 0000000..2152ca2
--- /dev/null
+++ b/yasnippet/c-mode/ts
@@ -0,0 +1,8 @@
+# -*- mode: snippet -*-
+# name: ts
+# key: ts
+# --
+/*! @brief $3 */
+typedef struct $1 {
+ $0
+} $2; \ No newline at end of file
diff --git a/yasnippet/c-mode/tu b/yasnippet/c-mode/tu
new file mode 100644
index 0000000..df97bd2
--- /dev/null
+++ b/yasnippet/c-mode/tu
@@ -0,0 +1,8 @@
+# -*- mode: snippet -*-
+# name: tu
+# key: tu
+# --
+/*! @brief $3 */
+typedef union $1 {
+ $0
+} $2; \ No newline at end of file