From b04ecc05d1e2f096195f157616efeeb12f255231 Mon Sep 17 00:00:00 2001 From: jdormit Date: Mon, 16 Sep 2024 20:08:00 -0400 Subject: [PATCH] Add cargo mode --- emacs/.emacs.d/config/init-rust.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/emacs/.emacs.d/config/init-rust.el b/emacs/.emacs.d/config/init-rust.el index 6639ca2..97e1f69 100644 --- a/emacs/.emacs.d/config/init-rust.el +++ b/emacs/.emacs.d/config/init-rust.el @@ -3,4 +3,7 @@ (use-package rust-mode :mode (("\\.rs\\'" . rust-mode))) +(use-package cargo + :hook (rust-mode . cargo-minor-mode)) + (provide 'init-rust)