changing to rustic-clippy
This commit is contained in:
parent
b0f34a3502
commit
1a6f9f024e
|
@ -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
|
||||||
|
|
4
init.el
4
init.el
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue