]> jturnerusa.dev Git - emacs.d/commitdiff
renamed eglot-dir-locals.el to eglot-rust-dir-locals.el
authorJohn Turner <jturner.usa@gmail.com>
Tue, 11 Oct 2022 03:52:38 +0000 (23:52 -0400)
committerJohn Turner <jturner.usa@gmail.com>
Tue, 11 Oct 2022 03:52:38 +0000 (23:52 -0400)
dir-locals/eglot-dir-locals.el [deleted file]
dir-locals/eglot-rust-dir-locals.el [new file with mode: 0644]

diff --git a/dir-locals/eglot-dir-locals.el b/dir-locals/eglot-dir-locals.el
deleted file mode 100644 (file)
index 9fff9e8..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-((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")))))
diff --git a/dir-locals/eglot-rust-dir-locals.el b/dir-locals/eglot-rust-dir-locals.el
new file mode 100644 (file)
index 0000000..9fff9e8
--- /dev/null
@@ -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")))))