rust: Use use-config's hook section instead of config
This commit is contained in:
parent
19b5305e23
commit
a5cd8df8f4
1 changed files with 2 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
|||
(use-package cargo
|
||||
:ensure t
|
||||
:config
|
||||
:hook
|
||||
;; enable cargo keybindings
|
||||
(add-hook 'rust-mode-hook 'cargo-minor-mode))
|
||||
(rust-mode . cargo-minor-mode))
|
||||
|
||||
(use-package rust-mode
|
||||
:ensure t
|
||||
|
|
Loading…
Reference in a new issue