diff options
| author | tslil <tslil@posteo.de> | 2026-03-25 13:42:37 +0000 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2026-03-25 13:42:42 +0000 |
| commit | 52b2374019f4f46fe53e7e9e0a96c07b0ca134fb (patch) | |
| tree | 238c1ee9daa99ce0f2a491f0ceed15cb578a0a7a | |
| parent | 648a4c24be40b9fbfed3c6556b90632e7e551317 (diff) | |
[emacs] for some reason rust-mode uses rust fmt, so this is a temp hack to make the hook usable on 2024 codebases
| -rw-r--r-- | emacs/inits/20-programming.el | 6 |
1 files 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 |
