dotfiles-emacs/.emacs.d/config/rust.el
finga 1c0930fa65 dev, rust: Extract Rust config into separate file
Move configuration regarding Rust into its own file.
2023-11-15 11:45:50 +01:00

13 lines
353 B
EmacsLisp

(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)