aboutsummaryrefslogtreecommitdiff
path: root/yasnippet/c-mode/ndef
diff options
context:
space:
mode:
authorPreston Pan <ret2pop@gmail.com>2025-01-28 13:07:16 -0800
committerPreston Pan <ret2pop@gmail.com>2025-01-29 14:50:55 -0800
commit46e8b0c5e914c0283a08b0f08aa3cc7c381f47b8 (patch)
treedd8122e9123502309b702910820cc240b016c62b /yasnippet/c-mode/ndef
parent97e5a140c34127fccdf6047d316c51785b6b52cd (diff)
add kiwix; yasnippet macros; a couple new entries; update website
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 */