summaryrefslogtreecommitdiff
path: root/.emacs.d/snippets/c-mode/union
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/snippets/c-mode/union')
-rw-r--r--.emacs.d/snippets/c-mode/union7
1 files changed, 7 insertions, 0 deletions
diff --git a/.emacs.d/snippets/c-mode/union b/.emacs.d/snippets/c-mode/union
new file mode 100644
index 0000000..b4ec5fa
--- /dev/null
+++ b/.emacs.d/snippets/c-mode/union
@@ -0,0 +1,7 @@
1# -*- mode: snippet -*-
2# name: union
3# key: union
4# --
5typedef union {
6 $0
7} ${1:name}; \ No newline at end of file