From 5c2c9a50da3a3f534842ffe95a49fe990000a072 Mon Sep 17 00:00:00 2001 From: Simeon Simeonov Date: Tue, 6 Jan 2026 21:25:57 +0100 Subject: Update markdown, rust and yasnippet --- .emacs.d/lisp/rust-rustfmt.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to '.emacs.d/lisp/rust-rustfmt.el') 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 @@ :type 'string :group 'rust-mode) -(defcustom rust-rustfmt-switches '("--edition" "2024") - "Arguments to pass when invoking the `rustfmt' executable." +(defcustom rust-rustfmt-switches nil + "Arguments to pass when invoking the `rustfmt' executable. This variable +will override any user configuration (e.g. rustfmt.toml). Recommendation +is to not modify this and rely on declarative configuration instead." :type '(repeat string) :group 'rust-mode) -- cgit v1.3