summaryrefslogtreecommitdiffstats
path: root/lisp/init-rust.el
blob: ad8ac91c648beb98779b1380cf9fc53ee81c5ed1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
;;; init-rust.el --- configure rust language support  -*- lexical-binding:t -*-
;;; Commentary:
;;; Code:

(use-package rust-mode
  :ensure t
  :mode ("\\.rs\\'" . rust-mode)
  :bind (:map rust-mode-map
              ("C-c u c" . rust-clippy)
              ("C-c u t" . rust-test)
              ("C-c u r" . rust-run)))

(provide 'init-rust)

;;; init-rust.el ends here