forked from gentoo-utils/gentoo-utils
use rustfmt 2024 in dir-locals.el
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
((rust-ts-mode . ((fmt-executable . "rustfmt")
|
((rust-ts-mode . ((fmt-executable . "rustfmt")
|
||||||
(fmt-args . ("--edition=2021"))
|
(fmt-args . ("--edition=2024"))
|
||||||
(eval . (eglot-ensure))
|
(eval . (eglot-ensure))
|
||||||
(eval . (company-mode 1))
|
(eval . (company-mode 1))
|
||||||
(eval . (add-hook 'before-save-hook 'fmt-current-buffer nil t))
|
(eval . (add-hook 'before-save-hook 'fmt-current-buffer nil t))
|
||||||
|
|||||||
Reference in New Issue
Block a user