add cargo-mode
This commit is contained in:
parent
2be3e2727e
commit
60dba336f6
1 changed files with 9 additions and 3 deletions
|
@ -1024,9 +1024,15 @@ this should be useful later
|
||||||
#+end_src
|
#+end_src
|
||||||
** Rust
|
** Rust
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(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
|
||||||
|
|
Loading…
Reference in a new issue