dotfiles-emacs/.emacs.d/config/rust.el

14 lines
353 B
EmacsLisp
Raw Normal View History

(use-package cargo
:ensure t
:config
;; enable cargo keybindings
(add-hook 'rust-mode-hook 'cargo-minor-mode))
(use-package rust-mode
:ensure t
:config
;; format code when saving
(setq rust-format-on-save t))
(use-package flycheck-rust :ensure t)