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/cfg=5
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..b01a458
--- /dev/null
+++ b/.emacs.d/snippets/rust-mode/cfg=
@@ -0,0 +1,5 @@
1# -*- mode: snippet -*-
2# name: #[cfg(option = "value")]
3# key: cfg=
4# --
5#[cfg(${1:option} = "${2:value}")] \ No newline at end of file