From 60dba336f67302f1ded1e891b9670f2102626b21 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Mon, 9 Sep 2024 11:14:15 +0400 Subject: [PATCH] add cargo-mode --- config/emacs/emacs.org | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/config/emacs/emacs.org b/config/emacs/emacs.org index f2bc8061..85690e54 100644 --- a/config/emacs/emacs.org +++ b/config/emacs/emacs.org @@ -1024,9 +1024,15 @@ this should be useful later #+end_src ** Rust #+begin_src emacs-lisp -(use-package rust-mode - :hook (rust-mode . eglot-ensure) - :mode "\\.rs\\'") + (use-package rust-mode + :hook (rust-mode . eglot-ensure) + :mode "\\.rs\\'") + + (use-package cargo-mode + :hook + (rust-mode . cargo-minor-mode) + :config + (setq compilation-scroll-output t)) #+end_src ** Haskell #+begin_src emacs-lisp