From 350fc534de745f4cc62000fa25d67afcddb7918a Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Wed, 5 Feb 2025 23:26:20 +0100 Subject: Improve flycheck-rust for workspaces --- server/common/.dir-locals.el | 5 +++++ server/hook/.dir-locals.el | 4 ++++ 2 files changed, 9 insertions(+) create mode 100644 server/common/.dir-locals.el create mode 100644 server/hook/.dir-locals.el diff --git a/server/common/.dir-locals.el b/server/common/.dir-locals.el new file mode 100644 index 0000000..1ef71a1 --- /dev/null +++ b/server/common/.dir-locals.el @@ -0,0 +1,5 @@ +;;; Directory Local Variables -*- no-byte-compile: t; -*- +;;; For more information see (info "(emacs) Directory Variables") + +((rust-mode . ((flycheck-rust-binary-name . "eyeballs-common") + (flycheck-rust-crate-type . "lib")))) diff --git a/server/hook/.dir-locals.el b/server/hook/.dir-locals.el new file mode 100644 index 0000000..8fbf67c --- /dev/null +++ b/server/hook/.dir-locals.el @@ -0,0 +1,4 @@ +;;; Directory Local Variables -*- no-byte-compile: t; -*- +;;; For more information see (info "(emacs) Directory Variables") + +((rust-mode . ((flycheck-rust-binary-name . "eyeballs-githook")))) -- cgit v1.2.3-70-g09d2