diff options
Diffstat (limited to '.emacs.d/snippets/rust-mode/struct')
| -rw-r--r-- | .emacs.d/snippets/rust-mode/struct | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.emacs.d/snippets/rust-mode/struct b/.emacs.d/snippets/rust-mode/struct new file mode 100644 index 0000000..7de2ffa --- /dev/null +++ b/.emacs.d/snippets/rust-mode/struct | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | # -*- mode: snippet -*- | ||
| 2 | # name: struct TypeName { .. } | ||
| 3 | # key: struct | ||
| 4 | # -- | ||
| 5 | struct ${1:TypeName} { | ||
| 6 | $0 | ||
| 7 | } | ||
