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
|
||||
;; 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
|
||||
|
|
4
init.el
4
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
|
||||
|
|
Loading…
Reference in a new issue