From 6fac8a28da9bf30da71941340505c2316d0db5a3 Mon Sep 17 00:00:00 2001 From: John Turner Date: Fri, 7 Oct 2022 03:10:21 -0400 Subject: changed the config-* prefix to init-* for all of the init files --- init/dir-locals/eglot-dir-locals.el | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 init/dir-locals/eglot-dir-locals.el (limited to 'init/dir-locals') diff --git a/init/dir-locals/eglot-dir-locals.el b/init/dir-locals/eglot-dir-locals.el new file mode 100644 index 0000000..9fff9e8 --- /dev/null +++ b/init/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"))))) -- cgit v1.2.3