From bcd993046ffaa3390bcf3252db8ba69d4610191c Mon Sep 17 00:00:00 2001 From: Simeon Simeonov Date: Fri, 28 Feb 2025 18:30:17 +0100 Subject: Add snippets/rust-mode and upgrade markdown-mode --- .emacs.d/snippets/rust-mode/afnw | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .emacs.d/snippets/rust-mode/afnw (limited to '.emacs.d/snippets/rust-mode/afnw') diff --git a/.emacs.d/snippets/rust-mode/afnw b/.emacs.d/snippets/rust-mode/afnw new file mode 100644 index 0000000..3c358f8 --- /dev/null +++ b/.emacs.d/snippets/rust-mode/afnw @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: async fn name(x: T) where T: Clone { ... } +# key: afnw +# -- +async fn ${1:name}<${2:T}>(${3:x: T}) where ${4:T: Clone} { + $0 +} \ No newline at end of file -- cgit v1.3