You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
656 B
EmacsLisp

((rust-ts-mode . ((eval . (progn
(require 'eglot)
(eglot-ensure)
(setq-local eglot-workspace-configuration '(:rust-analyzer (:checkb
(:command "clippy"))))
(when (require 'company nil t)
(company-mode 1))
(when (require 'rust-mode nil t)
(setq-local rust-format-on-save t
rust-rustfmt-switches '("--edition" "2021"))))))))