rust fixups

This commit is contained in:
Ivan Malison 2016-05-18 17:06:54 -04:00
parent 0db5a7c12b
commit cdee6699c8

View File

@ -2428,6 +2428,7 @@ items follow a style that is consistent with other prog-modes."
:preface
(progn
(defun imalison:rust-mode-hook ()
(imalison:make-imenu-index-flat)
(racer-mode)))
:config
(progn
@ -2436,13 +2437,13 @@ items follow a style that is consistent with other prog-modes."
:config
(progn
(add-hook 'flycheck-mode-hook #'flycheck-rust-setup)))
(use-package emacs-racer
(use-package racer
:demand t
:config
(progn
(setq racer-cmd "~/.cargo/bin/racer")
(setq racer-rust-src-path "~/Projects/rust/src")))
(use-package cargo-mode
(use-package cargo
:demand t
:config
(progn