From: John Turner Date: Fri, 7 Oct 2022 06:27:36 +0000 (-0400) Subject: added a directory to store dir-locals files in git X-Git-Url: https://jturnerusa.dev/gitweb/?a=commitdiff_plain;h=ceaa741cfb13938aa359f33f926ccdcb2689f303;p=emacs.d added a directory to store dir-locals files in git --- diff --git a/config/dir-locals/eglot-dir-locals.el b/config/dir-locals/eglot-dir-locals.el new file mode 100644 index 0000000..9fff9e8 --- /dev/null +++ b/config/dir-locals/eglot-dir-locals.el @@ -0,0 +1,6 @@ +((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")))))