diff options
| author | Simeon Simeonov | 2025-02-28 18:30:17 +0100 |
|---|---|---|
| committer | Simeon Simeonov | 2025-02-28 18:30:17 +0100 |
| commit | bcd993046ffaa3390bcf3252db8ba69d4610191c (patch) | |
| tree | 2f7fcfe1ed46f224119bc97346d6036c0504766b /.emacs.d/snippets/rust-mode/pfnw | |
| parent | f6a91e549fe34f047acdb03e806e0f7dce9ffce1 (diff) | |
Add snippets/rust-mode and upgrade markdown-mode
Diffstat (limited to '.emacs.d/snippets/rust-mode/pfnw')
| -rw-r--r-- | .emacs.d/snippets/rust-mode/pfnw | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.emacs.d/snippets/rust-mode/pfnw b/.emacs.d/snippets/rust-mode/pfnw new file mode 100644 index 0000000..c264400 --- /dev/null +++ b/.emacs.d/snippets/rust-mode/pfnw | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | # -*- mode: snippet -*- | ||
| 2 | # name: pub fn name<T>(x: T) where T: Clone { ... } | ||
| 3 | # key: pfnw | ||
| 4 | # -- | ||
| 5 | pub fn ${1:name}<${2:T}>(${3:x: T}) where ${4:T: Clone} { | ||
| 6 | $0 | ||
| 7 | } | ||
