diff options
author | Griffin Smith <grfn@gws.fyi> | 2021-08-07T18·07-0400 |
---|---|---|
committer | grfn <grfn@gws.fyi> | 2021-08-09T19·58+0000 |
commit | 2d6e4cda13221be79da54bb040433d1252e0b036 (patch) | |
tree | ae8905ef2040d16ccdf082e76349360d31464f8b | |
parent | 3d5c10f7b14263e5cfbf3bd7a1320b65ea1d2d32 (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
-rw-r--r-- | users/grfn/emacs.d/rust.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/users/grfn/emacs.d/rust.el b/users/grfn/emacs.d/rust.el index 6bfbe209dd51..af2150db4906 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)) |