diff options
author | John Turner <jturner.usa@gmail.com> | 2022-10-10 23:52:38 -0400 |
---|---|---|
committer | John Turner <jturner.usa@gmail.com> | 2022-10-10 23:52:38 -0400 |
commit | 5796d2bfbd8b34e718ae2a888e1b1f981ff99e9c (patch) | |
tree | 707c8e2d84d0cd4cbee347a6a723d17a948c928b /dir-locals/eglot-rust-dir-locals.el | |
parent | 5acbae002788e3bade07c95db96ee8ea99fe07e9 (diff) | |
download | emacs.d-5796d2bfbd8b34e718ae2a888e1b1f981ff99e9c.tar.gz |
renamed eglot-dir-locals.el to eglot-rust-dir-locals.el
Diffstat (limited to 'dir-locals/eglot-rust-dir-locals.el')
-rw-r--r-- | dir-locals/eglot-rust-dir-locals.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dir-locals/eglot-rust-dir-locals.el b/dir-locals/eglot-rust-dir-locals.el new file mode 100644 index 0000000..9fff9e8 --- /dev/null +++ b/dir-locals/eglot-rust-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"))))) |