summary refs log tree commit diff
path: root/emacs.d/modules/module-rust.el
blob: 0dc3199260746a3df9854b14f9413826b80eee73 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
(require 'config-package)

(use-package rust-mode)

(use-package cargo
  :hook (rust-mode . cargo-minor-mode)
  :config
  (setq compilation-ask-about-save nil)
  ;; Automatically re-run compilation command on manual save inside a project.
  ;; Will do nothing if a compilation hasn't been manually triggered
  ;; in the past.
  :diminish cargo-minor-mode)

(provide 'module-rust)