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/fnw | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .emacs.d/snippets/rust-mode/fnw (limited to '.emacs.d/snippets/rust-mode/fnw') diff --git a/.emacs.d/snippets/rust-mode/fnw b/.emacs.d/snippets/rust-mode/fnw new file mode 100644 index 0000000..321c292 --- /dev/null +++ b/.emacs.d/snippets/rust-mode/fnw @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: fn name(x: T) where T: Clone { ... } +# key: fnw +# -- +fn ${1:name}<${2:T}>(${3:x: T}) where ${4:T: Clone} { + $0 +} -- cgit v1.3