about summary refs log tree commit diff
path: root/users
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2021-08-07T18·07-0400
committergrfn <grfn@gws.fyi>2021-08-09T19·58+0000
commit2d6e4cda13221be79da54bb040433d1252e0b036 (patch)
treeae8905ef2040d16ccdf082e76349360d31464f8b /users
parent3d5c10f7b14263e5cfbf3bd7a1320b65ea1d2d32 (diff)
feat(gs/emacs): Put rust-analyzer in a different target dir r/2713
This stops it from interfering with command line invocations of things
like cargo test

Change-Id: Icc24a27ac5e17bb88ed539c13fc33204ef55ce82
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3288
Reviewed-by: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
Diffstat (limited to 'users')
-rw-r--r--users/grfn/emacs.d/rust.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/users/grfn/emacs.d/rust.el b/users/grfn/emacs.d/rust.el
index 6bfbe209dd..af2150db49 100644
--- a/users/grfn/emacs.d/rust.el
+++ b/users/grfn/emacs.d/rust.el
@@ -14,6 +14,7 @@
   (setq rust-format-show-buffer nil)
   (setq lsp-rust-analyzer-import-merge-behaviour "last"
         lsp-rust-analyzer-cargo-watch-command "clippy"
+        lsp-rust-analyzer-cargo-watch-args ["--target-dir" "/home/grfn/readyset/readyset/target/check"]
         lsp-ui-doc-enable t)
   (rust-enable-format-on-save)
   (lsp))