From e613da84b0582aa98d3d7647a26f86c2f7b1f7e9 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Mon, 9 Sep 2024 11:21:51 +0400 Subject: [PATCH] try another one --- config/emacs/emacs.org | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/config/emacs/emacs.org b/config/emacs/emacs.org index 85690e54..0495220c 100644 --- a/config/emacs/emacs.org +++ b/config/emacs/emacs.org @@ -1024,15 +1024,22 @@ 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) + ;; (use-package cargo-mode + ;; :hook + ;; (rust-mode . cargo-minor-mode) + ;; :config + ;; (setq compilation-scroll-output t)) + + (use-package rustic + :ensure t :config - (setq compilation-scroll-output t)) + (setq rustic-format-on-save nil) + :custom + (rustic-cargo-use-last-stored-arguments t)) #+end_src ** Haskell #+begin_src emacs-lisp