summaryrefslogtreecommitdiff
path: root/.emacs.d/snippets/rust-mode/cfg
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/snippets/rust-mode/cfg')
-rw-r--r--.emacs.d/snippets/rust-mode/cfg5
1 files changed, 5 insertions, 0 deletions
diff --git a/.emacs.d/snippets/rust-mode/cfg b/.emacs.d/snippets/rust-mode/cfg
new file mode 100644
index 0000000..583e021
--- /dev/null
+++ b/.emacs.d/snippets/rust-mode/cfg
@@ -0,0 +1,5 @@
1# -*- mode: snippet -*-
2# name: #[cfg(option)]
3# key: cfg
4# --
5#[cfg(${1:option})] \ No newline at end of file