diff options
| author | Sunil Nimmagadda <skn@alpine.my.domain> | 2025-11-29 21:09:03 +0530 |
|---|---|---|
| committer | Sunil Nimmagadda <skn@alpine.my.domain> | 2025-11-30 18:19:49 +0530 |
| commit | a0dcea419a6823f5f556d4bae904d045576fa34f (patch) | |
| tree | 6ca444b333e2fd35e278104c6f0d1edba740554a /src | |
| parent | df54f93717b0bc701878f34b753228547a2a8479 (diff) | |
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")))) |
