changing to rustic-clippy

This commit is contained in:
Chris Cochrun 2023-09-27 10:15:42 -05:00
parent b0f34a3502
commit 1a6f9f024e
2 changed files with 6 additions and 2 deletions

View file

@ -2956,11 +2956,13 @@ I'd like to start learning and using rust if I can.
:config :config
;; comment to disable rustfmt on save ;; comment to disable rustfmt on save
(setq rustic-format-on-save t (setq rustic-format-on-save t
rustic-lsp-client 'eglot) rustic-lsp-client 'eglot
rustic-clippy-arguments "-- -W clippy::pedantic")
:general :general
(general-def 'normal rustic-mode-map (general-def 'normal rustic-mode-map
"!" 'rustic-run-shell-command "!" 'rustic-run-shell-command
"gC" 'rustic-cargo-check "gC" 'rustic-cargo-check
"gC" 'rustic-cargo-clippy
"gA" 'rustic-cargo-add) "gA" 'rustic-cargo-add)
(chris/leader-keys (chris/leader-keys
:states 'normal :states 'normal

View file

@ -2216,11 +2216,13 @@ targets."
:config :config
;; comment to disable rustfmt on save ;; comment to disable rustfmt on save
(setq rustic-format-on-save t (setq rustic-format-on-save t
rustic-lsp-client 'eglot) rustic-lsp-client 'eglot
rustic-clippy-arguments "-- -W clippy::pedantic")
:general :general
(general-def 'normal rustic-mode-map (general-def 'normal rustic-mode-map
"!" 'rustic-run-shell-command "!" 'rustic-run-shell-command
"gC" 'rustic-cargo-check "gC" 'rustic-cargo-check
"gC" 'rustic-cargo-clippy
"gA" 'rustic-cargo-add) "gA" 'rustic-cargo-add)
(chris/leader-keys (chris/leader-keys
:states 'normal :states 'normal