summaryrefslogtreecommitdiff
path: root/lisp/rust.el
blob: f200c4001bf99e3869d327cbfcb1c4c60da9165f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

(use-package rust-mode
  :ensure t
  :config
  (setq rust-format-on-save t))

(use-package eglot
  :ensure t
  :after (rust-mode)
  :config
  (add-hook 'rust-mode-hook 'eglot-ensure))

(provide 'rust)