aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/warn!
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2021-07-23 21:36:29 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2021-07-25 15:44:48 +0100
commit91c8da0e835a83afef27f707f16ec6c24c30430b (patch)
treee20a734522c6036f7ce752c7e0602bf95bc00791 /Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/warn!
parent597bb886d926b4910c555efebe5c60a991bbd5fd (diff)
downloaddotfiles-91c8da0e835a83afef27f707f16ec6c24c30430b.tar.gz
dotfiles-91c8da0e835a83afef27f707f16ec6c24c30430b.tar.bz2
dotfiles-91c8da0e835a83afef27f707f16ec6c24c30430b.zip
(Emacs)+snippets from doom-snippet and removed default package
I've re-enabled yasnippet for ease of use, and added a ton of snippets directly into my Dotfiles so only I get to curate what snippets are removed. Screw downloading them off someone else's repository at their total mercy.
Diffstat (limited to 'Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/warn!')
-rw-r--r--Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/warn!5
1 files changed, 5 insertions, 0 deletions
diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/warn! b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/warn!
new file mode 100644
index 0000000..2f4885d
--- /dev/null
+++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/warn!
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+# name: #![warn(lint)]
+# key: warn!
+# --
+#![warn(${1:lint})] \ No newline at end of file