summaryrefslogtreecommitdiff
path: root/src/.dir-locals.el
blob: 8498cb25f1bd79ca7fcea3c8d170e3592f468299 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
;;; Directory Local Variables            -*- no-byte-compile: t -*-
;;; 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"))))