diff options
author | Franck Cuny <franck@fcuny.net> | 2024-05-30 20:03:25 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2024-05-30 20:03:25 -0700 |
commit | 8f1591a64df13b674025dd632e1a6b11c4414022 (patch) | |
tree | 804a86aef994c85bfa98194b7c98184ad0a0be0a | |
parent | more (diff) | |
download | emacs.d-8f1591a64df13b674025dd632e1a6b11c4414022.tar.gz |
add rust back
-rw-r--r-- | config/init-programming.el | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/config/init-programming.el b/config/init-programming.el index f90aaf1..cd983f0 100644 --- a/config/init-programming.el +++ b/config/init-programming.el @@ -69,6 +69,7 @@ ("C-c l f" . eglot-format-buffer)) :hook ((go-mode . eglot-ensure) (python-mode . eglot-ensure) + (rust-mode . eglot-ensure) (nix-mode . eglot-ensure)) :custom (eglot-send-changes-idle-time 0.1) @@ -127,6 +128,19 @@ (use-package ruby-mode) +(use-package rust-mode + :ensure t + :defer t + :custom + (rust-format-on-save t)) + +(use-package cargo-mode + :ensure t + :defer t + :hook (rust-mode . cargo-minor-mode) + :custom + (compilation-scroll-output t)) + ;;; flymake related configuration (use-package flymake :ensure nil |