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.

8 lines
415 B
EmacsLisp

((rust-mode . ((eval . (eglot-ensure))
(eglot-workspace-configuration . ((:rust-analyzer . (:checkOnSave
(:command "clippy")))))
(rust-format-on-save . t)
(rust-format-goto-problem . t)
(rust-rustfmt-switches . ("--edition" "2021"))))
(nil . ((rust-cargo-bin . "TMPDIR=~/tmp cargo"))))