Tweak rustic config
This commit is contained in:
parent
c548d627b7
commit
00f27c334c
|
@ -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-diagnostics-enable-experimental t
|
||||||
lsp-rust-analyzer-display-chaining-hints t))
|
lsp-rust-analyzer-display-chaining-hints t))
|
||||||
#+end_src
|
#+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
|
** Nix
|
||||||
Use rnix-lsp
|
Use rnix-lsp
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
|
Loading…
Reference in New Issue