From a0dcea419a6823f5f556d4bae904d045576fa34f Mon Sep 17 00:00:00 2001 From: Sunil Nimmagadda Date: Sat, 29 Nov 2025 21:09:03 +0530 Subject: Configure clippy. --- src/.dir-locals.el | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src') 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")))) -- cgit v1.2.3