summaryrefslogtreecommitdiff
path: root/.emacs.d/lisp/rust-rustfmt.el
diff options
context:
space:
mode:
authorSimeon Simeonov2026-01-06 21:25:57 +0100
committerSimeon Simeonov2026-01-06 21:25:57 +0100
commit5c2c9a50da3a3f534842ffe95a49fe990000a072 (patch)
tree4d798cad751adb7f532d1ad134c87d27cc59931b /.emacs.d/lisp/rust-rustfmt.el
parent4ccca9a08a613417baf81a55e1b33292cd869b63 (diff)
Update markdown, rust and yasnippet
Diffstat (limited to '.emacs.d/lisp/rust-rustfmt.el')
-rw-r--r--.emacs.d/lisp/rust-rustfmt.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/.emacs.d/lisp/rust-rustfmt.el b/.emacs.d/lisp/rust-rustfmt.el
index 6fb0e87..adaeb0d 100644
--- a/.emacs.d/lisp/rust-rustfmt.el
+++ b/.emacs.d/lisp/rust-rustfmt.el
@@ -33,8 +33,10 @@
33 :type 'string 33 :type 'string
34 :group 'rust-mode) 34 :group 'rust-mode)
35 35
36(defcustom rust-rustfmt-switches '("--edition" "2024") 36(defcustom rust-rustfmt-switches nil
37 "Arguments to pass when invoking the `rustfmt' executable." 37 "Arguments to pass when invoking the `rustfmt' executable. This variable
38will override any user configuration (e.g. rustfmt.toml). Recommendation
39is to not modify this and rely on declarative configuration instead."
38 :type '(repeat string) 40 :type '(repeat string)
39 :group 'rust-mode) 41 :group 'rust-mode)
40 42