diff --git a/config.org b/config.org index ccc7fae..2e3ea06 100644 --- a/config.org +++ b/config.org @@ -14,6 +14,7 @@ - [[#smart-parens][Smart parens]] - [[#rust][Rust]] - [[#column-width][Column width]] + - [[#run-clippy-in-rust-analyzer][Run clippy in rust-analyzer]] - [[#cc][C/C++]] - [[#default-style][Default style]] - [[#org-mode][Org mode]] @@ -174,6 +175,14 @@ Disable smart parens because half of the time it doesn't do what I want: (set-fill-column 100)) #+END_SRC +*** Run clippy in rust-analyzer + +The default is ~"check"~, but I want clippy lints as well. + +#+begin_src emacs-lisp +(setq lsp-rust-analyzer-cargo-watch-command "clippy") +#+end_src + ** C/C++ *** Default style