add cargo-mode

This commit is contained in:
Sakooooo 2024-09-09 11:14:15 +04:00
parent 2be3e2727e
commit 60dba336f6
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -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