From 1a6f9f024eaad850d41b46beee1a5e24863054c4 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Wed, 27 Sep 2023 10:15:42 -0500 Subject: [PATCH] changing to rustic-clippy --- README.org | 4 +++- init.el | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.org b/README.org index f423e443..48843f5a 100644 --- a/README.org +++ b/README.org @@ -2956,11 +2956,13 @@ I'd like to start learning and using rust if I can. :config ;; comment to disable rustfmt on save (setq rustic-format-on-save t - rustic-lsp-client 'eglot) + rustic-lsp-client 'eglot + rustic-clippy-arguments "-- -W clippy::pedantic") :general (general-def 'normal rustic-mode-map "!" 'rustic-run-shell-command "gC" 'rustic-cargo-check + "gC" 'rustic-cargo-clippy "gA" 'rustic-cargo-add) (chris/leader-keys :states 'normal diff --git a/init.el b/init.el index 1be5df76..37f0a93d 100644 --- a/init.el +++ b/init.el @@ -2216,11 +2216,13 @@ targets." :config ;; comment to disable rustfmt on save (setq rustic-format-on-save t - rustic-lsp-client 'eglot) + rustic-lsp-client 'eglot + rustic-clippy-arguments "-- -W clippy::pedantic") :general (general-def 'normal rustic-mode-map "!" 'rustic-run-shell-command "gC" 'rustic-cargo-check + "gC" 'rustic-cargo-clippy "gA" 'rustic-cargo-add) (chris/leader-keys :states 'normal