]> jturnerusa.dev Git - emacs.d/commitdiff
moved dir-locals out of the init dir
authorJohn Turner <jturner.usa@gmail.com>
Fri, 7 Oct 2022 07:17:37 +0000 (03:17 -0400)
committerJohn Turner <jturner.usa@gmail.com>
Fri, 7 Oct 2022 07:17:37 +0000 (03:17 -0400)
.gitignore
dir-locals/eglot-dir-locals.el [new file with mode: 0644]
init/dir-locals/eglot-dir-locals.el [deleted file]

index 5a5c333aa92d63712f35fc54e382726c249c334f..28844e38aa55d6bdf8d644e5d489b2228b82ec0e 100644 (file)
@@ -1,9 +1,8 @@
 /*
 !/.gitignore
 !/init.el
-!/load-config.el
-!/load-lisp.el
 !/custom.el
 !/themes
 !/init
-!/lisp
\ No newline at end of file
+!/lisp
+!/dir-locals
\ No newline at end of file
diff --git a/dir-locals/eglot-dir-locals.el b/dir-locals/eglot-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")))))
diff --git a/init/dir-locals/eglot-dir-locals.el b/init/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")))))