From 52b2374019f4f46fe53e7e9e0a96c07b0ca134fb Mon Sep 17 00:00:00 2001 From: tslil Date: Wed, 25 Mar 2026 13:42:37 +0000 Subject: [emacs] for some reason rust-mode uses rust fmt, so this is a temp hack to make the hook usable on 2024 codebases --- emacs/inits/20-programming.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/emacs/inits/20-programming.el b/emacs/inits/20-programming.el index ffa99e7..dc6612c 100644 --- a/emacs/inits/20-programming.el +++ b/emacs/inits/20-programming.el @@ -1,4 +1,4 @@ -;; Time-stamp: <2026-03-21 08h23 GMT (8a60818d)> +;; Time-stamp: <2026-03-25 11h49 GMT (242d7eec)> ;; ----------------------------------------------------------------------------- ;; General setup @@ -263,8 +263,8 @@ (setq rust-indent-offset 4 rust-indent-method-chain t rust-indent-where-clause t - rust-format-on-save t)) - + rust-format-on-save t + rust-rustfmt-switches '("--edition" "2024"))) ;; ------------------------------------------------------------------- ;; Misc languages -- cgit v1.2.3