dotfiles/.config/emacs/private/snippets/rust-mode/println
Lucien Cartier-Tilet 2a19478995
[Emacs] Add new Rust snippets, common-lisp layer
This commit adds two new snippets for Rust, one for an easier way to
write a `println' macro than the default one, and another one for
writing more easily new `new' functions for Rust structs.

It also adds the `common-lisp' layer in Emacs so I can test StumpWM.
2020-08-24 14:41:09 +02:00

5 lines
95 B
Plaintext

# -*- mode: snippet -*-
# name: println!("{}", value);
# key: pln
# --
println!("${1:{}}", $2);