diff options
author | John Turner <jturner.usa@gmail.com> | 2022-10-07 03:17:37 -0400 |
---|---|---|
committer | John Turner <jturner.usa@gmail.com> | 2022-10-07 03:17:37 -0400 |
commit | 9b4283e142006014d90ca4d34029be0b761c3816 (patch) | |
tree | 43c32f78f523fd2408df25aab590330910d0c598 /dir-locals | |
parent | 6fac8a28da9bf30da71941340505c2316d0db5a3 (diff) | |
download | emacs.d-9b4283e142006014d90ca4d34029be0b761c3816.tar.gz |
moved dir-locals out of the init dir
Diffstat (limited to 'dir-locals')
-rw-r--r-- | dir-locals/eglot-dir-locals.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dir-locals/eglot-dir-locals.el b/dir-locals/eglot-dir-locals.el new file mode 100644 index 0000000..9fff9e8 --- /dev/null +++ b/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"))))) |