Mercurial > dotfiles
view .elisp/settings/99.rust.el @ 439:2325dea339ca
smailq: vendor script to ease handling outgoing mail
From commit 5b83ca873f1dc9117a9b3590f0aa07fe2806fce9 of
http://git.sthu.org/repos/smailq.git - documented at
https://www.sthu.org/code/smailq.html.
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Sat, 15 Jul 2017 12:57:17 -0400 |
parents | 98484e1f564f |
children | f08193904d93 |
line wrap: on
line source
(use-package rust-mode :config (add-hook 'rust-mode-hook (lambda () (local-set-key (kbd "C-c <tab>") #'rust-format-buffer)))) (use-package cargo :config (add-hook 'rust-mode-hook 'cargo-minor-mode)) (use-package company :init (use-package racer :init (add-hook 'rust-mode-hook #'racer-mode) (add-hook 'racer-mode-hook #'eldoc-mode) (add-hook 'racer-mode-hook #'company-mode) (setq company-tooltip-align-annotations t) )) (use-package flycheck-rust :init (add-hook 'flycheck-mode-hook #'flycheck-rust-setup) (add-hook 'rust-mode-hook 'flycheck-mode) )