diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/.dir-locals.el | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/.dir-locals.el b/src/.dir-locals.el index 1340e0a..8498cb2 100644 --- a/src/.dir-locals.el +++ b/src/.dir-locals.el @@ -2,3 +2,12 @@ ;;; For more information see (info "(emacs) Directory Variables") ((rust-ts-mode . ((compile-command . "cargo test")))) + +(setq-local eglot-workspace-configuration + '(:rust-analyzer + ( :procMacro ( :attributes (:enable t) + :enable t) + :cargo (:buildScripts (:enable t)) + :diagnostics (:disabled ["unresolved-proc-macro" + "unresolved-macro-call"])) + (:initializationOptions :check (:command "clippy")))) |
