aboutsummaryrefslogtreecommitdiff
path: root/yasnippet/c-mode/ndef
diff options
context:
space:
mode:
Diffstat (limited to 'yasnippet/c-mode/ndef')
-rw-r--r--yasnippet/c-mode/ndef8
1 files changed, 8 insertions, 0 deletions
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 */