use rustfmt 2024 in dir-locals.el

This commit is contained in:
John Turner
2025-10-29 12:34:37 +00:00
parent 4b990d7864
commit f12867ea9f

View File

@@ -1,5 +1,5 @@
((rust-ts-mode . ((fmt-executable . "rustfmt")
(fmt-args . ("--edition=2021"))
(fmt-args . ("--edition=2024"))
(eval . (eglot-ensure))
(eval . (company-mode 1))
(eval . (add-hook 'before-save-hook 'fmt-current-buffer nil t))