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

@ -1027,6 +1027,12 @@ this should be useful later
(use-package rust-mode (use-package rust-mode
:hook (rust-mode . eglot-ensure) :hook (rust-mode . eglot-ensure)
:mode "\\.rs\\'") :mode "\\.rs\\'")
(use-package cargo-mode
:hook
(rust-mode . cargo-minor-mode)
:config
(setq compilation-scroll-output t))
#+end_src #+end_src
** Haskell ** Haskell
#+begin_src emacs-lisp #+begin_src emacs-lisp