dotfiles-emacs/.emacs.d/config/rust.el
finga 91ff02afe1 config: Fix indention by emacs auto indent
Use the indention that emacs applies when auto indenting.
2024-05-27 13:47:27 +02:00

13 lines
265 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)