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/pafns | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .emacs.d/snippets/rust-mode/pafns (limited to '.emacs.d/snippets/rust-mode/pafns') diff --git a/.emacs.d/snippets/rust-mode/pafns b/.emacs.d/snippets/rust-mode/pafns new file mode 100644 index 0000000..ad223f9 --- /dev/null +++ b/.emacs.d/snippets/rust-mode/pafns @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: pub async fn name(&self) -> Type { ... } +# key: pafns +# -- +pub async fn ${1:name}(${2:&self}) -> ${3:Type} { + $0 +} \ No newline at end of file -- cgit v1.3