aboutsummaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authoralex <alex@pdp7.net>2025-03-29 19:42:23 +0100
committeralexpdp7 <alex@corcoles.net>2025-03-29 19:43:05 +0100
commitdaa336dc50d7e0af0a5cdd285d05ff912a4ea624 (patch)
tree6566b2d12b29c2bdf03ba9b638460bf84ca6a9e1 /emacs
parent1df678ef642d3419b74c3f531dff4b8b7ac062ce (diff)
Force rustfmt edition 2018
Diffstat (limited to 'emacs')
-rw-r--r--emacs/emacs.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/emacs.el b/emacs/emacs.el
index f16cd141..c7090b71 100644
--- a/emacs/emacs.el
+++ b/emacs/emacs.el
@@ -78,7 +78,8 @@
(use-package rustic
:ensure t
:config
- (setq rustic-format-on-save t))
+ (setq rustic-format-on-save t)
+ (setq rustic-rustfmt-args "--edition 2018"))
;; Python support
; https://github.com/jorgenschaefer/elpy/issues/1890#issuecomment-792361668