diff --git a/config.org b/config.org index d497dc8..9b89c9c 100644 --- a/config.org +++ b/config.org @@ -853,6 +853,12 @@ Most of these are defaults, but I like having them explicit for my sanity lsp-rust-analyzer-diagnostics-enable-experimental t lsp-rust-analyzer-display-chaining-hints t)) #+end_src +*** Configure cargo commands +Configure the ~cargo clippy~ and ~cargo check~ invoked through rustic mode to utilize the ~--all-targets~ and ~--all-features~ arguments by default. +#+begin_src emacs-lisp +(setq rustic-cargo-check-arguments "--all-targets --all-features" + rustic-default-clippy-arguments "--all-targets --all-features") +#+end_src ** Nix Use rnix-lsp #+begin_src emacs-lisp